follow-up to #287, #347, and #351 to fix various issues with the latest setup:
Installs a clean Python 2 environment to be used by NetMHC tools (so that no other Python installation interferes with their function)
Also fixes the old NetMHC script to force it use whatever Python is available in the $PATH
Improves Conda's init function in such a way that if the environment is already active, it won't get activated once more (provides smooth handling of env variables if one is to init multiple netMHC tools independently)
Now cleans up after itself on failure
Creates the $TMPDIR beforehand to satisfy NetMHC's weak assumptions
All of these tested on a clean VM on Gcloud, so this should be good to go.
follow-up to #287, #347, and #351 to fix various issues with the latest setup:
$PATH
Conda
's init function in such a way that if the environment is already active, it won't get activated once more (provides smooth handling of env variables if one is to init multiple netMHC tools independently)$TMPDIR
beforehand to satisfyNetMHC
's weak assumptionsAll of these tested on a clean VM on Gcloud, so this should be good to go.
This change is