Skip to content

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

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

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

Conversation

@niccw

@niccw niccw commented Mar 11, 2026

Copy link
Copy Markdown

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
@niccw
niccw deleted the fix/skip_phasing branch May 26, 2026 10:50
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