Skip to content

Add intentional pre and post checks for file emptiness #177

@a-frantz

Description

@a-frantz

It's a relatively common standard in the bioinformatics tools we wrap to not have any special handling for empty inputs or outputs (including headered files without content/alignments). These "empty" files can currently be passed around between many of our tools resulting in a bunch of no-ops and a tough-to-track class of errors.

We should have lightweight checks before and after the "main computation" of our tasks to ensure that only "populated" files are being processed. We'll need a short investigation to find out which tools this wrapping will be needed for, as it would likely be redundant with some tools that error as one might expect on empty inputs and outputs.

This is related to #172 , and closing this issue should probably close #172 as well.

Metadata

Metadata

Assignees

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