example schema:
"sample": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Sample name must be provided and cannot contain spaces"
}
example samplesheet.csv:
validation error message:
-> Entry 1: Error for field 'sample' (1.0E+9): Value is [integer] but should be [string] (Sample name must be provided and cannot contain spaces)
-> Entry 2: Error for field 'sample' (4E+10): Value is [integer] but should be [string] (Sample name must be provided and cannot contain spaces)
Sample names are converted from string values (10E8 and 4E10) to integer in scientific notation (1.0E+9 and 4E+10) in samplesheetToList.
nextflow version: 25.04.5
nf-schema version: 2.4.2