Skip to content

Commit

Permalink
Merge pull request #147 from tillenglert/nf-shema_enum
Browse files Browse the repository at this point in the history
Use enum instead of pattern suggested by @nvnieuwk
  • Loading branch information
tillenglert authored Nov 13, 2024
2 parents ce8101d + 70a3c96 commit b4a9a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"type": {
"type": "string",
"pattern": "^(bins)|(assembly)|(taxa)$",
"enum": ["bins", "assembly", "taxa"],
"errorMessage": "Microbiome type must be provided and needs to be either 'bins', 'assembly' or 'taxa'"
},
"microbiome_path": {
Expand Down

0 comments on commit b4a9a29

Please sign in to comment.