Skip to content

Commit 3806eec

Browse files
mashehumirpedrol
andauthored
Update nf_core/pipelines/bump_version.py
Co-authored-by: Júlia Mir Pedrol <[email protected]>
1 parent 680d2ff commit 3806eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nf_core/pipelines/bump_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def bump_pipeline_version(pipeline_obj: Pipeline, new_version: str) -> None:
101101
)
102102
# nf-test snap files
103103
pipeline_name = pipeline_obj.nf_config.get("manifest.name", "").strip(" '\"")
104-
snap_files = [f for f in Path(pipeline_obj.wf_path).glob("tests/pipeline/*.snap")]
104+
snap_files = [f.relative_to(pipeline_obj.wf_path) for f in Path(pipeline_obj.wf_path).glob("tests/pipeline/*.snap")]
105105
for snap_file in snap_files:
106106
update_file_version(
107107
snap_file,

0 commit comments

Comments
 (0)