Skip to content

Conversation

@christopher-hakkaart
Copy link
Member

@christopher-hakkaart christopher-hakkaart commented Nov 16, 2025

docs: Simplify option with keyword

@netlify /docs/tutorials/storage_utilization/managing_work_directory_growth

@netlify
Copy link

netlify bot commented Nov 16, 2025

Deploy Preview for nf-core-docs ready!

Name Link
🔨 Latest commit 5c2f7cf
🔍 Latest deploy log https://app.netlify.com/projects/nf-core-docs/deploys/691a44484cbb7a0008d308de
😎 Deploy Preview https://deploy-preview-3657--nf-core-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Nov 16, 2025

Deploy Preview for nf-core-main-site ready!

Name Link
🔨 Latest commit 5c2f7cf
🔍 Latest deploy log https://app.netlify.com/projects/nf-core-main-site/deploys/691a4448d9011900086f63e8
😎 Deploy Preview https://deploy-preview-3657--nf-core-main-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@mahesh-panchal mahesh-panchal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me, the idea should be to preserve the cache of the last run, while cleaning up anything before that.


```bash
nextflow clean -f -before $(nextflow log -q | tail -n 1)
nextflow clean -n last
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nextflow clean -n last
nextflow clean -n -before last


### Selective post-execution cleanup

Nextflow's built-in `clean` command enables targeted removal of work directories. The following command preserves work directories from the current execution while removing directories from previous executions:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep this version, but combine it with the information about last. We want to keep the cache, while cleaning up previous runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants