+
Skip to content

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

Merged
merged 11 commits into from
May 10, 2021
Merged

Quick start nf version #1064

merged 11 commits into from
May 10, 2021

Conversation

KevinMenden
Copy link
Contributor

This PR adds a nextflow version to the Quick start section in the README.md and adjusts the bump-version command

@codecov
Copy link

codecov bot commented May 10, 2021

Codecov Report

Merging #1064 (26b4d61) into dev (da71010) will decrease coverage by 1.26%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            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     
Impacted Files Coverage Δ
nf_core/bump_version.py 89.70% <100.00%> (+3.76%) ⬆️
nf_core/download.py 54.98% <0.00%> (-9.80%) ⬇️
nf_core/utils.py 83.14% <0.00%> (-4.72%) ⬇️
nf_core/lint/params_used.py 87.50% <0.00%> (-1.98%) ⬇️
nf_core/launch.py 64.93% <0.00%> (-1.83%) ⬇️
nf_core/__main__.py 61.05% <0.00%> (+0.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da71010...26b4d61. Read the comment docs.

@KevinMenden KevinMenden linked an issue May 10, 2021 that may be closed by this pull request
@KevinMenden KevinMenden added this to the 1.14 milestone May 10, 2021
@@ -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"\.")),
Copy link
Member

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..

Copy link
Contributor Author

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

Copy link
Contributor Author

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

Copy link
Member

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 👍🏻

Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

Add minimum NF version to quick start section of main README
2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载