Skip to content

Release v52.1.2

Compare
Choose a tag to compare
@clingen-sthlm clingen-sthlm released this 10 Nov 11:52
· 1347 commits to master since this release

fix(move error handling clean flow cells) (#2678) (patch)

Description
The CleanFlowCellAPI would raise an error and exit when no fastq files where found even if a sample would have spring files in housekeeper.
This was unintened with the relaxation of criteria.

To fix this:

A new function was added to the CleanFlowCellAPI
has_sample_fastq_or_spring_files_in_housekeeper

This function checks if all samples have either fastq files OR spring files and spring meta data files. If any sample does not have one or the other a HousekeeperFileMissingError is raised that will be propagated to the user.

Moved HousekeeperFilesMissingError into has_sample_fastq_or_spring_files_in_housekeeper
was previously in get_files_for_samples_on_flow_cell_with_tag