Skip to content

Error finding ModelSEEDDatabase variable #5

Description

@thh32

I have followed the instructions in creating the ModelSEEDDatabase variable as shown below;

thomas@Kiwi:~/PyFBA$ echo $ModelSEEDDatabase
/home/thomas/PyFBA/ModelSEEDDatabase

However when I test the setup.py code the following occurs;

thomas@Kiwi:~/PyFBA$ python setup.py test
Traceback (most recent call last):
File "setup.py", line 7, in
import PyFBA
File "/home/thomas/PyFBA/PyFBA/init.py", line 5, in
import PyFBA.gapfill
File "/home/thomas/PyFBA/PyFBA/gapfill/init.py", line 13, in
from .ecnumbers import suggest_reactions_using_ec
File "/home/thomas/PyFBA/PyFBA/gapfill/ecnumbers.py", line 5, in
MODELSEED_DIR = os.environ['ModelSEEDDatabase']
File "/usr/lib/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: 'ModelSEEDDatabase'

Any idea how to solve this?

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