Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Created February 20, 2020 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icaoberg/4a9698f50a082ca2184b6f21dea87dad to your computer and use it in GitHub Desktop.
Save icaoberg/4a9698f50a082ca2184b6f21dea87dad to your computer and use it in GitHub Desktop.
[CELLORGANIZER] demo2D11 for Sergiu Sanielevici at PSC
#!/bin/bash
# @icaoberg 20/02/2020
# This script will
# * Download and extract a pre-release version of CellOrganizer v2.9.0
# * Run demo2D11. A training demo created for Sergiu Sanielevici
#
# For more information about CellOrganizer, visit the last release documentation
# http://www.cellorganizer.org/docs/2.8.1/
#
# demo2D11 uses a collection of 2D HeLa images to train a generative model
if [ -x $(which matlab) ]; then
wget -nc http://linus.cbd.cs.cmu.edu/cellorganizer-v2.9.0-pre-alpha.tgz
tar -xf cellorganizer-v2.9.0-pre-alpha.tgz
rm -fv cellorganizer-v2.9.0-pre-alpha.tgz
cd cellorganizer-v2.9.0-pre-alpha
matlab -nodesktop -nosplash -r "setup; demo2D11; exit;"
else
echo "WARNING: This script assumes the Matlab binary in on PATH."
echo "Cannot find it. Please install or add to PATH."
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment