Skip to content

Commit

Permalink
fixing logic for existing downloads in bash script #88
Browse files Browse the repository at this point in the history
  • Loading branch information
louisegrimble committed Feb 4, 2025
1 parent 75f1409 commit 833121c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/irods/iget-cellranger/submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ OUTPUT_DIR="${TEAM_SAMPLE_DATA_DIR}/\$SAMPLE/cellranger"
# check if cellranger outputs for $SAMPLE have already been pulled, exit
#OUTS=\$(sed 's|.*/||' \$OUTPUT_DIR/irods_path.csv)
[ -d "$OUTPUT_DIR/$OUTS" ]
[ -d "$OUTPUT_DIR/$OUTS/*GRCh38*" ]
if [ -d "\$OUTPUT_DIR/\$OUTS" ]; then
echo "Output directory '\$OUTPUT_DIR' already contains cellranger outputs from iRODS. Exiting"
exit 2
Expand Down

0 comments on commit 833121c

Please sign in to comment.