Skip to content

NanoporeParser should throw the custom DataParserExceptions and DataValidationExceptions #70

Open
@Steffengreiner

Description

@Steffengreiner

Is your feature request related to a problem? Please describe.
Currently the NanoporeParser returns the everit ValidationException if the provided filetree doesn't follow the predefined schema.
This leads to the Issue that the applications using the NanoporeParser have to include the everit package as a dependency to interpret the exception.
Additionally, it returns different uncatched exceptions(IOException/ParserException/FileNotFoundException) dependent on why the parsing fails.

Describe the solution you'd like
Replace the ValidationException with the custom DatasetValidationException akin to the BioionformaticAnalysisParser and the MaxQuantParser.
The different Exceptions which could be generated during the parsing of a filetree, should be catched akin to the BioionformaticAnalysisParser and the MaxQuantParser and a custom DataParserException should be thrown for easier debugging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions