Skip to content

Error loading dat file with empty time column #48

@aabondare

Description

@aabondare

From my reading of the comtrade spec, if the date and time of the first sample and the sample rate are both specified, then the second column, timestamp, is optional (non critical). The current implementation throws a "ValueError: could not convert string to float: '' if the load function is presented with a dat file that has the second row omitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions