Skip to content

Check for empty merged dataframe before plotting#109

Open
dfornika wants to merge 1 commit intojts:masterfrom
BCCDC-PHL:fix-plotting-crash-with-no-ct-values
Open

Check for empty merged dataframe before plotting#109
dfornika wants to merge 1 commit intojts:masterfrom
BCCDC-PHL:fix-plotting-crash-with-no-ct-values

Conversation

@dfornika
Copy link
Contributor

@dfornika dfornika commented Feb 9, 2024

Proposed fix for #108

There may be other ways to handle this but here's one option. If the merged dataframe is empty, write an empty plot (so the snakemake pipeline won't crash due to a missing input) and exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant