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.
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