carmenalab / brain-python-interface

Other
6 stars 8 forks source link

Missing featurelist.py and tasklist.py #29

Open TomekFraczek opened 5 years ago

TomekFraczek commented 5 years ago

When namelist.py is imported it references featurelist.py and tasklist.py. After the default install these files do not yet exist and django crashes during boot. Currently I'm using the same work-around that the master branch uses (catch import error and use an empty dict) but this makes it really difficult to figure out how the tasklists and featurelists should be formatted to work properly.

Proposed fixes for default behavior:

Which of these options would be preferable?

Relevant to unstable_py3 branch. Change introduced in this commit.

sgowda commented 5 years ago

My thought is that featurelist and tasklist force you to use the code in development mode rather than as a stand-alone library, so it would be best to get rid of them entirely. I think the way to do this is to add a way to "install" tasks and features for your local system. I have implemented the outline of that functionality in a208e5864b441c618b80874527fe7c45d077464e. Would that resolve the issue?