diff --git a/cwl/run.sh b/cwl/run.sh index 248958342476bd724724b54ba70d388c2d634e3e..b6e20c656dd838891b8ef0b29caac0f8b6fb2051 100755 --- a/cwl/run.sh +++ b/cwl/run.sh @@ -125,7 +125,7 @@ else fi # Remove downloaded files -echo "Removing irods files" -grep "[0-9]\+_irods:" $yaml | awk '{print "rm -f "$2}' | sh +echo "Removing unprocessed raw omics-data transfered irods files" +grep "[0-9]\+_irods: /unlock/projects/.*/unprocessed" $yaml | awk '{print "rm -f "$2}' | sh exit 0