Skip to content

Fix missing exit(0) when phasing is skipped#170

Closed
niccw wants to merge 1 commit intoWedge-lab:masterfrom
niccw:fix/skip_phasing
Closed

Fix missing exit(0) when phasing is skipped#170
niccw wants to merge 1 commit intoWedge-lab:masterfrom
niccw:fix/skip_phasing

Conversation

@niccw
Copy link
Copy Markdown

@niccw niccw commented Mar 11, 2026

Add an else clause to if (!skip_phasing[sampleidx]) to handle cases where phasing is skipped.
When the flags skip_allele_counting=true, skip_preprocessing=false, and skip_phasing=true are used, the program now exits successfully (return 0) instead of continuing execution and throw error.

@niccw niccw marked this pull request as draft March 19, 2026 14:18
@niccw niccw closed this Mar 19, 2026
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