Skip to content

Commit

Permalink
fix hmpv and hsv
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Jan 23, 2025
1 parent ddd54eb commit db8063f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipes/WDL/tasks/tasks_ncbi.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ task vadr {
if [ -n "~{vadr_model_tar}" ]; then
mkdir -p vadr-untar
tar -C vadr-untar -xzvf "~{vadr_model_tar}"
if [ -f "vadr-untar/vadr-models-hsv-1.0" -o -f "vadr-untar/vadr-models-hmpv-1.0" ]; then
if [ -d "vadr-untar/vadr-models-hsv-1.0" -o -d "vadr-untar/vadr-models-hmpv-1.0" ]; then
# these HSV/hMPV tarballs are structured weird (one extra directory layer), collapse its contents
mkdir -p vadr-models
ln -s vadr-untar/vadr-models-*/*/* vadr-models
Expand Down

0 comments on commit db8063f

Please sign in to comment.