Mercurial > repos > bimib > marea_2_0
changeset 246:c2981cdb2dd7 draft
Uploaded
author | luca_milaz |
---|---|
date | Mon, 08 Jul 2024 13:37:54 +0000 |
parents | 59830a48b19d |
children | 419c4fc75d6c |
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:37:38 2024 +0000 +++ b/marea_2_0/utils/general_utils.py Mon Jul 08 13:37:54 2024 +0000 @@ -572,7 +572,7 @@ ext = ext if ext else file_path.ext try: if ext is FileFormat.XML: - return cobra.io.read_sbml_model("./" + file_path.show()) + return cobra.io.read_sbml_model(file_path.show()) if ext is FileFormat.JSON: return cobra.io.load_json_model(file_path.show())