PyFBA icon indicating copy to clipboard operation
PyFBA copied to clipboard

TypeError in tests

Open SimonPPf opened this issue 1 year ago • 0 comments

Hey there! I recently installed PyFBA v2.62 and ran the tests (sudo python3 setup.py test). The tests ended up with an Type Error (argument of type 'module' is not iterable) in line 36 in read_media.py. I suspect that some other import overrides the media_files() function which results in triggering the error. My short hot-fix in read_media.py: ''' from PyFBA.Biochemistry import media as dict_media def media_files():   return dict_media ''' It's not pretty, but it works.

Ubuntu 20.04 Python version 3.10.14 pyfba freshly installed from conda-forge channel with the mamba solver

SimonPPf avatar Jun 20 '24 14:06 SimonPPf