Skip to content

Commit

Permalink
Move the statement below _galaxy_setup_environment to ensure that cus…
Browse files Browse the repository at this point in the history
…tom PATH to a non-system SLURM install will be applied if set in environment_setup_file
  • Loading branch information
moskalenko committed Apr 12, 2018
1 parent 1583db7 commit d13fc00
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,13 +27,13 @@ _galaxy_setup_environment() {
$integrity_injection
$slots_statement
export GALAXY_SLOTS
$memory_statement
GALAXY_VIRTUAL_ENV="$galaxy_virtual_env"
_GALAXY_VIRTUAL_ENV="$galaxy_virtual_env"
PRESERVE_GALAXY_ENVIRONMENT="$preserve_python_environment"
GALAXY_LIB="$galaxy_lib"
_galaxy_setup_environment "$PRESERVE_GALAXY_ENVIRONMENT"
GALAXY_PYTHON=`command -v python`
$memory_statement
$instrument_pre_commands
cd $working_directory
$command
Expand Down

0 comments on commit d13fc00

Please sign in to comment.