Skip to content
Nathan Keim edited this page Sep 5, 2019 · 4 revisions

Running and updating the notebooks

To ensure reproducibility and make sure Binder works, it's important to install a standardized environment. Here's how:

  1. Pull the trackpy-examples repo and create a new branch.

  2. Remove the old examples environment if it exists: conda env remove trackpy-examples

  3. Take a quick look at environment.yml and see if anything needs to be updated. Ideally there should be no pinned versions.

  4. In the trackpy-examples repo: conda env create -f environment.yml

  5. If you are anticipating a new release of trackpy, you need to use the development version:

    conda remove trackpy
    pip install -e <your local trackpy repo>
    
  6. To use this as a Jupyter kernel: python -m ipykernel install --user --name trackpy-examples --display-name trackpy-examples

Clone this wiki locally