changeset 237:4f97bd21f3a1 draft

Uploaded
author luca_milaz
date Mon, 08 Jul 2024 13:08:45 +0000
parents 849df7951a04
children 5d8a4e94cf84
files marea_2_0/utils/general_utils.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2_0/utils/general_utils.py	Mon Jul 08 12:58:46 2024 +0000
+++ b/marea_2_0/utils/general_utils.py	Mon Jul 08 13:08:45 2024 +0000
@@ -553,7 +553,8 @@
         if(self is Model.Custom):
             return self.load_custom_model(customPath, customExtension)
         else:
-            return cobra.io.read_sbml_model(FilePath(f"{self.name}", FileFormat.XML, prefix = f"{toolDir}/local/COBRA models/"))
+            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/"))
     
     def load_custom_model(file_path :FilePath, ext :Optional[FileFormat] = None) -> cobra.Model:
         """