pnnl-predictive-phenomics / concerto

Apache License 2.0
3 stars 2 forks source link

Ref Issue #6: moved files to test directory, tests do not pass #23

Open tiekneeshrimp opened 1 month ago

tiekneeshrimp commented 1 month ago
          @tiekneeshrimp will move directories:

Originally 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: Screenshot 2024-09-18 095035

tiekneeshrimp commented 1 month ago

@mcnaughtonadm might need some help understanding how filepaths are organized in this context plsss

tiekneeshrimp commented 2 weeks ago

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)```