Open averagehat opened 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.
ASampledir,AName,APrimer
https://github.com/VDBWRAIR/bactpipeline/blob/c4fb29dd86feb9ffb5311cceb1640ee066e7ba79/bactpipeline/runsample.py#L61-L62
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