/neurobooth-explorer

Neurobooth Explorer - a web app to explore Neurobooth data

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

neurobooth-explorer

Neurobooth Explorer - a web app to explore Neurobooth data

To create environment from yaml do:

conda env create -f environment.yml

To create environment manually:

Create environment with desired name - python versions 3.7 to 3.9 tested, v3.10 has unresolved incompatibilities.

Install packages in following order from conda channels, avoid pip:

  1. Install psycopg2=2.9.3 from any conda channel, avoid pip. At the time of writing, this version was only available on conda-forge and not on pkgs/main.
  2. Install dash=1.19.0 from any conda channel. This installs the following:
  3. dash-core-components-1.3.1
  4. dash-html-components-1.0.1
  5. dash-renderer-1.1.2
  6. flask-2.2.2 (could also be another version of Flask)
  7. App will not work with other dash package versions - only works with 1.19.0
  8. Install dash-auth=1.4.1 from any conda channel.
  9. Install from any conda channel:
  10. sshtunnel
  11. numpy
  12. pandas (tested till v1.5.0)
  13. scipy
  14. Install h5io (v0.1.7 tested)
  15. Install neurobooth-terra by pip install -e git+https://github.com/neurobooth/neurobooth-terra.git#egg=neurobooth_terra
  16. Check version of openssl, if it is not 1.1.1q, do conda install -c conda-forge openssl=1.1.1q (this resolves clash between openssl and cryptography due to bugs)
  17. Check version of werkzeug, if it is not 2.0.3, do conda install -c conda-forge werkzeug=2.0.3
  18. This will downgrade Flask to flask 2.2.2 --> 2.1.3
Activate conda environment and test

Run explorer by doing: python neurobooth_explorer.py