-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NF-Core Sync includes template.yaml as option #1880
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
c0049b0
to
ad6e31b
Compare
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! This is all that was required? Great!
I'd like to wait for the CI tests to run / pass, but reading the code LGTM 👍🏻 (haven't tested running)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! :)
I haven't added a new test - is that OK? I'm sure there are lots of edge cases but it works with a quick demo pipeline. |
Actually - it gets in a mess if the template file is in the repository. Relatively easy fix. |
- Cache template.yml file before running nf-core sync. - If syncing fails, reset to start
…s into 1879_sync_template_yaml
@ewels @mirpedrol Please re-review, I've updated the code to cache the template YAML and re-write it during syncing which is a bit more involved and has to catch some exceptions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates, it looks good! Feel free to merge when tests pass :)
Fixes #1879
Adds
-t/--template-yaml
tonf-core sync
, so that users can update their pipeline based on existing template file.PR checklist
CHANGELOG.md
is updateddocs
is updated