Closed gennadygorin closed 2 years ago
It has nothing to do with the Python version. Added package/module rather than script semantics.
This breaks compatibility with old search result and data pickle
files, so the following hack is necessary to analyze previously generated results:
sys.modules['extract_data']=monod.extract_data
sys.modules['inference']=inference
sys.modules['cme_toolbox']=cme_toolbox
sys.modules['analysis']=analysis
Python 3.9 is incompatible with
from .module import function
whereas Colab is restricted to 3.7. Either make the import more generic or force Colab to use 3.9.