Skip to content

Missing required sample sheet columns are filled in blank without triggering an error #305

@AmandaBirmingham

Description

@AmandaBirmingham

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] = ''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions