# HG changeset patch # User luca_milaz # Date 1720444381 0 # Node ID 9a87c5ebc1d8c33b6786cdb7b4c7445b3717ee8e # Parent 5d8a4e94cf84ba714fab1f8714c55cb58c31c0cb Uploaded diff -r 5d8a4e94cf84 -r 9a87c5ebc1d8 marea_2_0/utils/general_utils.py --- a/marea_2_0/utils/general_utils.py Mon Jul 08 13:09:07 2024 +0000 +++ b/marea_2_0/utils/general_utils.py Mon Jul 08 13:13:01 2024 +0000 @@ -553,8 +553,7 @@ if(self is Model.Custom): return self.load_custom_model(customPath, customExtension) else: - return FilePath(f"{self.name}", FileFormat.XML, prefix = f"{toolDir}/local/COBRA models/") - #return cobra.io.read_sbml_model(FilePath(f"{self.name}", FileFormat.XML, prefix = f"{toolDir}/local/COBRA models/")) + return cobra.io.read_sbml_model(FilePath(f"{self.name}", FileFormat.XML, prefix = f"{toolDir}/local/COBRA models/").show()) def load_custom_model(file_path :FilePath, ext :Optional[FileFormat] = None) -> cobra.Model: """