Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.91 KB

INSTALL.md

File metadata and controls

56 lines (39 loc) · 1.91 KB

Installing the workshop environment

Overview

This workshop is delivered mainly through a series of Jupyter notebooks that allow for interactive Python programming.

To use these, several Python packages must be installed. A full list of these can be found in environment.yml. See below for instructions on how to set up a local copy of the Python environment.

Note: at this time, the workshop requires the beta version of MDAnalysis 2.0.0.

Installing the Python environment

Due to the complexity of the workshop environment, we strongly recommend the use of the Anaconda Python distribution. The instructions provided here assume the use of conda.

1. Creating a workshop environment

To create an environment named mda-workshop2021 with all the necessary Python dependencies:

conda env create --name mda-workshop2021 --file=environments.yml

See the conda documentation for more information on how to access and manage conda environments.

2. Activating the Jupyter extensions

The workshop leverages the extended utility of several Jupyter nbextensions.

To install these, the followed should be run once (after having activated the conda environment):

jupyter contrib nbextension install --user
jupyter nbextension enable splitcell/splitcell
jupyter nbextension enable rubberband/main
jupyter nbextension enable exercise2/main
jupyter nbextension enable autosavetime/main
jupyter nbextension enable collapsible_headings/main
jupyter nbextension enable codefolding/main
jupyter nbextension enable limit_output/main
jupyter nbextension enable toc2/main