Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Bug fix for file path patterns #132

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

nvnieuwk
Copy link
Collaborator

Bug reported in the nf-core/mag pipeline (nf-core/mag#541). When giving a single file as input of a parameter with format file-path-pattern, the validator would see it as a Path type instead of an ArrayList type. By simply changing the Nextflow.file function to Nextflow.files, an ArrayList will always be created.

Copy link
Collaborator

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

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

LGTM!

@nvnieuwk nvnieuwk merged commit 975bc99 into nextflow-io:master Nov 16, 2023
3 checks passed
@nvnieuwk nvnieuwk deleted the fix-file-path-patterns branch November 16, 2023 12:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants