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

Commit 90983d0

Browse files
committed
review comments
1 parent 101eaec commit 90983d0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/nextflow_schema/sample_sheet_schema_specification.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Please refer to the [Nextflow schema specification](../nextflow_schema/nextflow_
7878
Be sure to set `"type": "string"` and `"format": "file-path"` for these properties,
7979
so that nf-validation correctly returns this sample sheet field as a `Nextflow.file` object.
8080

81+
When using the `file-path-pattern` format for a globbing pattern, a list will be created with all files found by the globbing pattern. See [here](../nextflow_schema/nextflow_schema_specification.md#file-path-pattern) for more information.
82+
8183
## Sample sheet keys
8284

8385
Below are the properties that are specific to sample sheet schema.

plugins/nf-validation/src/main/nextflow/validation/FormatValidators/FilePathPatternValidator.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class FilePathPatternValidator implements FormatValidator {
1717
}
1818
ArrayList files = Nextflow.file(subject) as ArrayList
1919
ArrayList errors = []
20-
println("${subject}: ${files.size()}")
20+
2121
if(files.size() == 0) {
2222
return Optional.of("No files were found using the globbing pattern '${subject}'" as String)
2323
}

0 commit comments

Comments
 (0)