Skip to content

Conversation

mwalker174
Copy link
Collaborator

Fixes a WDL error in the single sample pipeline when run_ploidy is false:

Failed to evaluate 'EvidenceQC.ploidy_plots' (reason 1 of 1): Evaluating select_first([CreateVariantCountPlots.ploidy_plots, Ploidy.ploidy_plots]) failed: select_first was called with 2 empty values. We needed at least one to be filled.

This is caused by the select_first() call to assign the optional ploidy_plots output.

Tested the EvidenceQc module in Terra with run_ploidy set to true and to false.

@kjaisingh kjaisingh self-requested a review August 14, 2025 18:46
Copy link
Collaborator

@kjaisingh kjaisingh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just remember to remove the branch from the dockstore sync.

@mwalker174 mwalker174 merged commit 6328e86 into main Sep 2, 2025
7 checks passed
@mwalker174 mwalker174 deleted the mw_run_ploidy branch September 2, 2025 14:13
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.

2 participants