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
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
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