biocore / metagenomics_pooling_notebook

Jupyter notebooks to assist with sample processing
MIT License
8 stars 16 forks source link

read_plate_map_csv should assert required columns are present #110

Open wasade opened 1 year ago

wasade commented 1 year ago

Given that there is a specialized function to read a plate map file, I think it would be valuable to explicitly assert required columns are present. This method assumes, but does not check, that a few columns like Sample are present. Downstream consumers of the output of this method may make additional assumptions as well suggesting that failing early is important.

https://github.com/biocore/metagenomics_pooling_notebook/blob/f573aaeee992afb7c570546d6624fd188110d70c/metapool/metapool.py#L173