# HG changeset patch # User luca_milaz # Date 1720446277 0 # Node ID 4f3c4587bd4bda637faeb3b257d5d7fcdd739e01 # Parent 419c4fc75d6c567ca3b96d76ef7510d46a6d0ded Uploaded diff -r 419c4fc75d6c -r 4f3c4587bd4b marea_2_0/utils/general_utils.py --- a/marea_2_0/utils/general_utils.py Mon Jul 08 13:42:35 2024 +0000 +++ b/marea_2_0/utils/general_utils.py Mon Jul 08 13:44:37 2024 +0000 @@ -553,7 +553,7 @@ if(self is Model.Custom): return self.load_custom_model(customPath, customExtension) else: - (model, errors) = cobra.io.validate_sbml_model(FilePath(f"{self.name}", FileFormat.XML, prefix = f"{toolDir}/local/COBRA models/")) + (model, errors) = cobra.io.validate_sbml_model(FilePath(f"{self.name}", FileFormat.XML, prefix = f"{toolDir}/local/COBRA models/").show()) return cobra.io.read_sbml_model(FilePath(f"{self.name}", FileFormat.XML, prefix = f"{toolDir}/local/COBRA models/")) def load_custom_model(self, file_path :FilePath, ext :Optional[FileFormat] = None) -> cobra.Model: