Skip to content

TypeError in tests #13

Description

@SimonPPf

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions