pepkit / peppy

Project metadata manager for PEPs in Python
https://pep.databio.org/peppy
BSD 2-Clause "Simplified" License
37 stars 12 forks source link

If 'annotation_sheet.csv' is without samples, throws 'NoneType' error #444

Closed ayobi closed 1 year ago

ayobi commented 1 year ago

I decided to remove the samples in the annotation_sheet.csv to see what would happen. Error was thrown - TypeError: 'NoneType' object is not iterable. It would be nice to have it respond with No samples found in your file or something.