biocore / metagenomics_pooling_notebook

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

Adjust error message for missing SheetType and SheetVersion parameters #184

Open charles-cowart opened 4 months ago

charles-cowart commented 4 months ago

SheetType and SheetVersion are now mandatory fields in the [Header] section of all sample-sheets, even legacy ones. Without this information, metapool cannot judge whether the value of 'Assay' is legitimate or not, or whether the number and names of columns in the [Data] section are correct.

Change metapool to raise this Error message, instead of the generic 'This does not look to be a valid sample-sheet.' when one or both of these fields are missing.