changeset 252:d6730737cffd draft

Uploaded
author luca_milaz
date Mon, 08 Jul 2024 14:01:04 +0000
parents 35a04c97b232
children 28dae7aa7c44
files marea_2_0/utils/general_utils.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2_0/utils/general_utils.py	Mon Jul 08 13:58:45 2024 +0000
+++ b/marea_2_0/utils/general_utils.py	Mon Jul 08 14:01:04 2024 +0000
@@ -554,7 +554,7 @@
             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/").show())
-            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(self, file_path :FilePath, ext :Optional[FileFormat] = None) -> cobra.Model:
         """