Skip to content

Commit 9ff3ceb

Browse files
authored
Update demo setup script (#112)
* add visual dependencies * install from pypi
1 parent 955da74 commit 9ff3ceb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

examples/demo_dlmbl/setup.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ conda install -y ipykernel nbformat nbconvert black jupytext ipywidgets --name 0
1111
# conda activate sometimes doesn't work from within shell scripts.
1212

1313
# install viscy and its dependencies`s in the environment using pip.
14-
mkdir -p ~/code/
15-
cd ~/code/
16-
git clone https://github.com/mehta-lab/viscy.git
17-
cd viscy
18-
git checkout main #FIXME: change after merging this PR # Exercise is tested with this commit of viscy
19-
2014
# Find path to the environment - conda activate doesn't work from within shell scripts.
2115
ENV_PATH=$(conda info --envs | grep 06_image_translation | awk '{print $NF}')
22-
$ENV_PATH/bin/pip install ".[metrics]"
16+
$ENV_PATH/bin/pip install "viscy[metrics,visual]==0.2.0"
2317

2418
# Create the directory structure
2519
mkdir -p ~/data/06_image_translation/training

0 commit comments

Comments
 (0)