Why is this just a warning? One consequence is that if you misspell a required column name, this fact will be silently ignored and a completely empty column with that name will be added to the sample sheet instead (?!) Surely this should be an error?
|
for column in self._get_expected_data_columns(): |
|
if column not in table.columns: |
|
warnings.warn('The column %s in the sample sheet is empty' % |
|
column) |
|
table[column] = '' |