Skip to content

Add no clobber and put bash options on their own line - #2991

Merged
mahesh-panchal merged 2 commits into
nf-core:devfrom
mahesh-panchal:add_noclobber
May 22, 2024
Merged

mahesh-panchal merged 2 commits into
nf-core:devfrom
mahesh-panchal:add_noclobber

Conversation

@mahesh-panchal

Copy link
Copy Markdown
Member
  • Adds the bash option no clobber
  • Put each option on it's own line and explain what it does.

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

@codecov

codecov Bot commented May 21, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.11%. Comparing base (d4b8af2) to head (589265e).

Additional details and impacted files

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nvnieuwk nvnieuwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM but I'd rather have someone else look at this too since I'm not that familiar with this

@mirpedrol

Copy link
Copy Markdown
Member

Hi @mahesh-panchal, do you have a link to docs about the no clobber option?

@mahesh-panchal

Copy link
Copy Markdown
Member Author

@mirpedrol

Copy link
Copy Markdown
Member

Thanks! Could this break any existing pipelines which might be using this redirection?

@mahesh-panchal

Copy link
Copy Markdown
Member Author

I'm not aware of any modules that are purposely overwriting files. We normally add checks to prevent that.

@mirpedrol mirpedrol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for double checking, looks good to me then 🙂

@mahesh-panchal
mahesh-panchal merged commit fd7ca28 into nf-core:dev May 22, 2024
@mahesh-panchal
mahesh-panchal deleted the add_noclobber branch May 22, 2024 13:49
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.

4 participants