Skip to content

Commit

Permalink
error clean cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ens-ftricomi committed Apr 12, 2024
1 parent ef5bc79 commit 7a3375b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pipelines/nextflow/workflows/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,10 @@ workflow STATISTICS{
RUN_ENSEMBL_STATS(db, db_meta)
}
}
afterScript:
"""

if (params.cleanCache) {
// Clean cache directories
exec "rm -rf ${params.cacheDir}/*"
}
"""

}

0 comments on commit 7a3375b

Please sign in to comment.