-
Notifications
You must be signed in to change notification settings - Fork 206
Quick start nf version #1064
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
Quick start nf version #1064
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #1064 +/- ##
==========================================
- Coverage 73.49% 72.23% -1.27%
==========================================
Files 36 36
Lines 4396 4520 +124
==========================================
+ Hits 3231 3265 +34
- Misses 1165 1255 +90
Continue to review full report at Codecov.
|
nf_core/bump_version.py
Outdated
@@ -145,7 +145,7 @@ def bump_nextflow_version(pipeline_obj, new_version): | |||
pipeline_obj, | |||
[ | |||
( | |||
r"nxf_ver: \[[\'\"]?{}[\'\"]?, ''\]".format(current_version.replace(".", r"\.")), | |||
r"nxf_ver: \[[\'\"]?{}[\'\"]?, [\'\"]?[\'\"]?\]".format(current_version.replace(".", r"\.")), |
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.
What is this doing? Allowing either ''
or ""
?
Do you need the ?
characters? I feel like this regex would also match ['foo', ]
which doesn't seem right..
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.
Yeah I plead guilty of copying that part of the regexes from other locations where it should replace allow '
or "
Then let's remove the question marks at the other locations as well I guess? as there should always be brackets I guess
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.
removed the question marks now
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, looks good! Don't think that it mattered much anyway so no need to go hunting elsewhere 👍🏻
Co-authored-by: Phil Ewels <phil.ewels@scilifelab.se>
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.
LGTM!
This PR adds a nextflow version to the Quick start section in the
README.md
and adjusts thebump-version
command