35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
#%Module
|
|
|
|
module-whatis "Particle selection tool for cryo-em (crYOLO) "
|
|
module-url "https://cryolo.readthedocs.io/en/stable/installation.html#install-napari-and-the-boxmanager-plugin"
|
|
module-license "SPHIRE-crYOLO Complimentary Science Software License (http://sphire.mpg.de/wiki/doku.php?id=cryolo_license). Non-commercial academic and research purposes only"
|
|
module-maintainer "Greta Assmann <greta.assmann@psi.ch>"
|
|
|
|
module-help "Napari-Boxmanager is a tool to use in combination with crYOLO (visualization for particle picking) "
|
|
|
|
# Check for supported shell types
|
|
set shelltype [module-info shelltype]
|
|
switch -- $shelltype {
|
|
"sh" {
|
|
puts stdout "conda(){ :; };"
|
|
puts stdout "set +u"
|
|
puts stdout "source \"${PREFIX}\"/miniconda/etc/profile.d/conda.sh;\n"
|
|
}
|
|
default {
|
|
puts stderr "Shells of type '$shelltype' are NOT supported!"
|
|
}
|
|
}
|
|
|
|
|
|
switch [module-info mode] {
|
|
"load" {
|
|
# Relies on the anaconda module being loaded since we need to update the path
|
|
puts stdout "conda activate ${P}_${V};\n"
|
|
}
|
|
"unload" -
|
|
"remove" {
|
|
puts stdout "conda deactivate;\n"
|
|
}
|
|
}
|
|
|