Skip to content

Installation

marwan-abdellah edited this page Aug 19, 2024 · 45 revisions

Table of Contents

Prerequisites

To run the installation script, the following tools must be installed on your system:

Installation on Linux and Mac Operating Systems

NeuroMorphoVis can be installed on Linux and macOSX as follows:

  1. Download the setup.py script.

From the browser, this script can be downloaded by clicking on the link and then Save link as...

On Linux, this script can be downloaded from the terminal as follows

wget https://raw.githubusercontent.com/BlueBrain/NeuroMorphoVis/master/setup.py

On macOSX, this script can be downloaded from the terminal as follows

curl https://raw.githubusercontent.com/BlueBrain/NeuroMorphoVis/master/setup.py >setup.py .
  1. Change access permissions of the setup.py script to be able to execute it as follows
chmod +x setup.py 
  1. Run the setup.py script and provide a valid or existing directory where the artifacts will be downloaded and installed.
./setup.py --prefix=VALID_DIRECTORY  --verbose

Users can select the version of Blender using the --blender-version option.

--blender-version BLENDER_VERSION
                    Blender version. 2.79, 2.80, 3.0 or 3.5. By default it is 3.5.
  1. Once done, change directory to this VALID_DIRECTORY as follows
cd VALID_DIRECTORY/blender-neuromorphovis 
  1. Run Blender from the terminal
./blender
  1. From the Edit panel, open Preferences.

  1. Go to the Add-ons panel and load NeuroMorphoVis from the list by checking the box: 3D View: NeuroMorphoVis.

  1. Once loaded without errors, close the Blender Pereferences window.

  2. If you click N, NeuroMorphoVis panel will appear on the right side of Blender (in Blender 2.8). In Blender 2.79 or earlier, this panel will appear on the left side of Blender.

Installation on Windows Operating Systems

To facilitate downloading and installing NeuroMorphoVis on Windows, we have added a list of downloadable batch scripts that can automate the installation process of NeuroMorphoVis and its integration in Blender.

  1. Download a batch file corresponding to a specific version of Blender to a specific directory (we can call it the installation directory). For example, one of the following batch files can be selected:
  1. Download the dependencies file deps.txt to the same directory.

  2. Ensure that the batch files have the extension .bat to be able to execute them. If these files are stored as .txt files, you then need to convert them to .bat files.

  3. Double click on the downloaded batch file and let the magic happen!

For security reasons, Windows will display a warning message "Windows Protected your PC". Ignore this message and click on Run Anyway to execute the batch script.

  1. After the installation is done, load the NeuroMorphoVis add-on in the GUI of Blender.

  2. From the Edit panel, open Preferences.

  1. Go to the Add-ons panel and load NeuroMorphoVis from the list by checking the box: 3D View: NeuroMorphoVis.

  1. Once loaded without errors, close the Blender Pereferences window.

  2. If you click N, NeuroMorphoVis panel will appear on the right side of Blender (in Blender 2.8). In Blender 2.79 or earlier, this panel will appear on the left side of Blender.

Windows installation has been tested on Windows 10 and 11 only.

Sample Morphologies

To test the package, a set of sample morphology files (in SWC and H5 formats) are available to download from this link. Other SWC morphologies are available from NeuroMorpho.org.

Note NeuroMorphoVis is mainly used to visuailze neuronal morphologies. Although it can be used to visualize astrocytes, the results might be incomplete.

Navigation