Skip to content

Commit

Permalink
added napari-plot-profile to python/conda install instructions
Browse files Browse the repository at this point in the history
it is needed for `_includes/pixels/pixels_act1_skimage_napari.py`, which
previously required additional installation steps that we want to avoid
due to the this module being usually taught early in the course.

closes #650
  • Loading branch information
k-dominik committed Apr 26, 2024
1 parent eed2057 commit 14db11f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-python-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
channel-priority: strict
miniforge-version: latest
- name: install common conda dependencies
run: conda install -c conda-forge -c euro-bioimaging python=3.10 napari=0.4.17 pytest notebook matplotlib jupytext "scikit-image>=0.20" openijtiff -y
run: conda install -c conda-forge -c euro-bioimaging python=3.10 napari=0.4.17 pytest notebook matplotlib jupytext "scikit-image>=0.20" openijtiff napari-plot-profile -y
- name: linux test
if: matrix.os == 'ubuntu-latest'
shell: bash -l {0}
Expand Down
4 changes: 0 additions & 4 deletions _includes/pixels/pixels_act1_skimage_napari.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# %% [markdown]
# ## Inspect a 2D image
# To follow along for the plot profile you require a napari plugin. \
# Install napari-plot-profile in your course activated conda environment.\
# `conda activate skimage-napari-tutorial` \
# `pip install napari-plot-profile`

# %%
# Load the image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
1. install [miniconda](https://docs.conda.io/en/latest/miniconda.html)
1. open a terminal window
* Windows: *Anaconda Prompt (Miniconda3)*, e.g. type `Anaconda` in the search bar
1. write `conda create -n skimage-napari-tutorial -c conda-forge -c euro-bioimaging python=3.10 napari=0.4.17 notebook matplotlib jupytext "scikit-image>=0.20" openijtiff` and press enter
1. write `conda create -n skimage-napari-tutorial -c conda-forge -c euro-bioimaging python=3.10 napari=0.4.17 notebook matplotlib jupytext "scikit-image>=0.20" openijtiff napari-plot-profile` and press enter
1. create a directory called `skimage-napari-tutorial` (e.g. on your Desktop)

#### Test installation (only once)
Expand Down

0 comments on commit 14db11f

Please sign in to comment.