changeset 239:9a87c5ebc1d8 draft

Uploaded
author luca_milaz
date Mon, 08 Jul 2024 13:13:01 +0000
parents 5d8a4e94cf84
children 166ed738733a
files marea_2_0/utils/general_utils.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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:
         """