scidash / neuronunit

A package for data-driven validation of neuron and ion channel models using SciUnit
http://neuronunit.scidash.org
38 stars 24 forks source link

Made light NU optimizer installable for (brian2, and AllenGLIF without Docker). #226

Open russelljjarvis opened 4 years ago

russelljjarvis commented 4 years ago

Made NU optimizer installable for (brian2, and AllenGLIF without Docker).

TODO figure out appropriate syntax in setup.py /requirements.txt

pip install neuronunit[version]
russelljjarvis commented 4 years ago

These command are approximately sufficient to install NU opt.

pip3 install -e git+https://github.com/fun-zoological-computing/AllenSDK
pip3 install -e git+https://github.com/scidash/sciunit@dev
pip3 install dask distributed brian2 numba deap
sudo pip3 install --upgrade beautifulsoup4
pip3 install -e git+https://github.com/russelljjarvis/neuronunit@barcelona
rgerkin commented 4 years ago

OK, so those things (which hopefully can eventually be pruned to stable versions/branches of things on pypi) can be in some sort of optional requirements file, and I can think about how to configure setup.py to use them when someone does pip install neuronunit[optimization]. Then the init.py of the optimization module can have a check for one or more of those things that will raise and Exception (or issue a warning) if they are not installed.