Open tiekneeshrimp opened 1 month ago
@mcnaughtonadm might need some help understanding how filepaths are organized in this context plsss
ERROR running update_model.py:
ImportError while importing test module 'C:\Users\lint730\GEM_repos\csc009-gem\csc009\update_model.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
csc009\update_model.py:22: in <module>
from concerto.utils import load_universal_model
..\..\concerto\concerto\utils\__init__.py:1: in <module>
from .utils import parse_carbsource_growth, create_carveme_mediadb_df
E ImportError: cannot import name 'parse_carbsource_growth' from 'concerto.utils.utils' (C:\Users\lint730\concerto\concerto\utils\utils.py)```
concerto
tosrc/concerto
tests
directory and confirm the tests still passOriginally posted by @djinnome in https://github.com/pnnl-predictive-phenomics/concerto/issues/6#issuecomment-2356845326
Tried: -defining concert/Metabolic_Data_Files folder path in Test_Metab file -defining ^ paths in ProgramtoTest -system imports in Test_Metab Error: