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

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.

@nvnieuwk nvnieuwk requested a review from mirpedrol November 16, 2023 09:52
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
@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