FlyBrainLab provides an environment where computational researchers can present configurable, executable neural circuits, and experimental scientists can interactively explore circuit structure and function ultimately leading to biological validation.
Setting up FlyBrainLab
Before the installation, enter the following to your terminal:
to install the Xcode Command Line Tools that are needed for the compilation of certain packages.
First, make sure that you have an installation of Anaconda or miniconda. Anaconda can be installed from https://www.anaconda.com/ and miniconda is available at https://docs.conda.io/en/latest/miniconda.html. We recommend Anaconda. Then, open up your terminal or command line, go to an empty directory in which you want your FlyBrainLab installation to reside and enter the following line by line:
# create anaconda environment called neuromynerva with appropriate packages installed conda create -n neuromynerva python=3.6 nodejs scipy pandas jupyterlab cookiecutter git yarn -c conda-forge -y # activate the neuromynerva environment just created # if you have conda>4.4, you may need to use `conda activate neuromynerva` instead source activate neuromynerva # Install additional package into the environment pip install txaio twisted autobahn crochet service_identity autobahn-sync matplotlib h5py seaborn fastcluster networkx jupyter # If on Windows, execute the following: pip install pypiwin32 # Create a preferred installation directory and go into that directory, For example: # mkdir ~/MyFBL # cd ~/MyFBL # Clone packages into your preferred directory (~/MyFBL) in the example above git clone https://github.com/FlyBrainLab/Neuroballad.git git clone https://github.com/FlyBrainLab/FBLClient.git git clone https://github.com/FlyBrainLab/NeuroMynerva.git # Install all relevant packages cd ./Neuroballad python setup.py develop cd ../FBLClient python setup.py develop cd ../NeuroMynerva yarn install npm run build # this will fail, do not worry npm run build # this will also fail, do not worry npm run link jupyter lab build
You may be prompted. On Windows, you will only need to write "activate neuromynerva" instead of "source activate neuromynerva".
Starting Up FlyBrainLab
After the installation, simply run
to get started.
To test if your installations are working, check
- whether you see an "FFBO" section below "Other" in JupyterLab Launcher, as shown here:
- whether you can run the example notebook here.