RIVM-bioinformatics / ViroConstrictor

ViroConstrictor is a pipeline designed to process raw FastQ data from viral amplicon-based sequencing and generate biologically correct consensus sequences of the given viral genome
https://rivm-bioinformatics.github.io/ViroConstrictor/
GNU Affero General Public License v3.0
5 stars 2 forks source link

Samplesheet parser crashes if there are empty rows in between data-rows #110

Open florianzwagemaker opened 1 month ago

florianzwagemaker commented 1 month ago

Currently the samplesheet parser seems to crash with TypeError: expected str, bytes or os.PathLike object, not float when a samplesheet is given containing empty rows in-between properly formatted data-rows.

Currently only tested with csv input.

This should:

  1. at least exit properly instead of a TypeError
  2. Be handled correctly and not crash/exit at all