This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
Releases: nextflow-io/nf-validation
Releases · nextflow-io/nf-validation
Version 0.3.0
New features
- Check that a sample sheet doesn't have duplicated entries by default. Can be disabled with --validationSkipDuplicateCheck (#72)
Bug fixes
- Only validate a path if it is not null (#50)
- Only validate a file with a schema if the file path is provided (#51)
- Handle errors when sample sheet not provided or doesn't have a schema (#56)
- Silently ignore samplesheet fields that are not defined in samplesheet schema (#59)
- Correctly handle double-quoted fields containing commas in csv files by .fromSamplesheet() (#63)
- Print param name when path does not exist (#65)
- Fix file or directory does not exist error not printed when it was the only error in a samplesheet (#65)
- Do not return parameter in summary if it has no default in the schema and is set to 'false' (#66)
- Skip the validation of a file if the path is an empty string and improve error message when the path is invalid (#69)
Deprecated
- The meta map of input channels is not an ImmutableMap anymore (#68). Reason: https://github.com/nextflow-io/nf-validation/issues/52
Version 0.2.1
Bug fixes
- Fixed a bug where
immutable_meta
option infromSamplesheet()
wasn't working when usingvalidateParameters()
first. (@nvnieuwk)
Version 0.2.0
New features
- Added a new documentation site. (@ewels and @mashehu)
- Removed the
file-path-exists
,directory-path-exists
andpath-exists
and added aexists
parameter to the schema. (@mirpedrol) - New
errorMessage
parameter for the schema which can be used to create custom error messages. (@mirpedrol) - Samplesheet validation now happens in
validateParameters()
using the schema specified by theschema
parameter in the parameters schema. (@mirpedrol)
Improvements
- The
meta
maps are now immutable by default, seeImmutableMap
for more info (@nvnieuwk) validateAndConvertSamplesheet()
has been renamed tofromSamplesheet()
- Refactor
--schema_ignore_params
to--validationSchemaIgnoreParams
Bug fixes
- Fixed a bug where an empty meta map would be created when no meta values are in the samplesheet schema. (@nvnieuwk)
Version 0.1.0
Initial release.