VDBWRAIR / bactpipeline

Bacteria Pipeline modified from MRSN Bacteria Pipeline
GNU General Public License v2.0
0 stars 0 forks source link

Malformed CSV should cause error #25

Open averagehat opened 8 years ago

averagehat commented 8 years ago

csv.DictReader will happily take a malformed csv like ASampledir,AName,APrimer which is missing its header and simply return an empty iterable . . . dubious design choice.

https://github.com/VDBWRAIR/bactpipeline/blob/c4fb29dd86feb9ffb5311cceb1640ee066e7ba79/bactpipeline/runsample.py#L61-L62