35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
#%Module
|
|
|
|
module-whatis "Deep cryo-EM Map Enhancer (DeepEMhancer) "
|
|
module-url "https://github.com/rsanchezgarc/deepEMhancer"
|
|
module-license "Apache-2.0 License"
|
|
module-maintainer "Greta Assmann <greta.assmann@psi.ch>"
|
|
|
|
module-help "DeepEMhancer is a python package designed to perform post-processing of cryo-EM maps as described in DeepEMhancer: a deep learning solution for cryo-EM volume post-processing, by Sanchez-Garcia et al, 2021."
|
|
|
|
# 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"
|
|
}
|
|
}
|
|
|