Beispiel #1
0
 def LoadModel(self, model_filename, options=[]):
     args = ['-C', '-A', '--assume-valid', model_filename] + options
     options, model_file = translators.get_options(args)
     doc = translators.load_model(model_file, options)
     self._doc = doc
     return doc
Beispiel #2
0
def LoadModel(model_filename, options=[]):
    args = ['-C', '-A', '--assume-valid', model_filename] + options
    options, model_file = translators.get_options(args)
    doc = translators.load_model(model_file, options)
    return doc
Beispiel #3
0
def LoadModel(model_filename, options=[]):
    args = ["-C", "-A", "--assume-valid", model_filename] + options
    options, model_file = translators.get_options(args)
    doc = translators.load_model(model_file, options)
    return doc