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

Releases: nextflow-io/nf-validation

Version 0.3.0

10 Jul 12:53
f3f5fca
Compare
Choose a tag to compare

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

Version 0.2.1

06 Jun 12:54
ee495db
Compare
Choose a tag to compare

Bug fixes

  • Fixed a bug where immutable_meta option in fromSamplesheet() wasn't working when using validateParameters() first. (@nvnieuwk)

Version 0.2.0

06 Jun 08:07
99a2826
Compare
Choose a tag to compare

New features

  • Added a new documentation site. (@ewels and @mashehu)
  • Removed the file-path-exists, directory-path-exists and path-exists and added a exists 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 the schema parameter in the parameters schema. (@mirpedrol)

Improvements

  • The meta maps are now immutable by default, see ImmutableMap for more info (@nvnieuwk)
  • validateAndConvertSamplesheet() has been renamed to fromSamplesheet()
  • 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

05 May 13:07
0c7226c
Compare
Choose a tag to compare

Initial release.