Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions nf_core/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,6 @@ def bump_pipeline_version(pipeline_obj, new_version):
],
)

# conf/charliecloud.config - environment path
update_file_version(
"conf/charliecloud.config",
pipeline_obj,
[
(
r"nf-core-{}-{}".format(pipeline_obj.pipeline_name.lower(), current_version.replace(".", r"\.")),
"nf-core-{}-{}".format(pipeline_obj.pipeline_name.lower(), new_version),
)
],
)


def bump_nextflow_version(pipeline_obj, new_version):
"""Bumps the required Nextflow version number of a pipeline.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ profiles {
shifter {
shifter.enabled = true
}
charliecloud { includeConfig 'conf/charliecloud.config' }
charliecloud {
charliecloud.enabled = true
}
test { includeConfig 'conf/test.config' }
test_full { includeConfig 'conf/test_full.config' }
}
Expand Down
5 changes: 0 additions & 5 deletions tests/test_bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ def test_bump_pipeline_version(datafiles):
assert "ENV PATH /opt/conda/envs/nf-core-testpipeline-1.1/bin:$PATH" in dockerfile
assert "RUN conda env export --name nf-core-testpipeline-1.1 > nf-core-testpipeline-1.1.yml" in dockerfile

# Check charliecloud.config
with open(new_pipeline_obj._fp("conf/charliecloud.config")) as fh:
charliecloud_config = fh.read().splitlines()
assert ' PATH = "/opt/conda/bin:/opt/conda/envs/nf-core-testpipeline-1.1/bin:$PATH"' in charliecloud_config


def test_dev_bump_pipeline_version(datafiles):
""" Test that making a release works with a dev name and a leading v """
Expand Down