Skip to content

Add defensive programming elements #2

@rhagenson

Description

@rhagenson

I just had a failure that should have been caught on input, but was not. Example of the malformed input:

sample,time,sequence
...
T13,initial,ACTTGA
...
Ts13,final,AGTTCC
...

The missing "s" in "T13" for "initial" means there was not matching initial/final pair. It would be advantageous to add more defensive programming elements which catch malformed input like this and fail early with reasonable error messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions