Skip to content

Commit 52699b3

Browse files
Install dsub with pip (#289)
1 parent 30be029 commit 52699b3

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

features/src/workbench-tools/install.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,15 @@ CONDA_PACKAGES_2=(
9191
"vcftools"
9292
)
9393

94-
if [[ "${CLOUD}" == "gcp" ]]; then
95-
CONDA_PACKAGES_2+=("dsub")
96-
fi
97-
9894
mkdir -p "${WORKBENCH_TOOLS_DIR}"
9995
mamba create --prefix "${WORKBENCH_TOOLS_DIR}/1" -c bioconda -y "${CONDA_PACKAGES_1[@]}"
10096
mamba create --prefix "${WORKBENCH_TOOLS_DIR}/2" -c bioconda -y "${CONDA_PACKAGES_2[@]}"
10197

98+
# Install dsub via pip if on GCP. The conda version is outdated.
99+
if [[ "${CLOUD}" == "gcp" ]]; then
100+
"${WORKBENCH_TOOLS_DIR}/2/bin/pip" install dsub
101+
fi
102+
102103
# Force the perl and python scripts to use the correct perl/python
103104
find -L "${WORKBENCH_TOOLS_DIR}/2/bin" -type f -executable -exec \
104105
sed -i --follow-symlinks \

0 commit comments

Comments
 (0)