Skip to content

Return failure status for incompatible SFS dimensions - #670

Open
thierrygosselin wants to merge 1 commit into
ANGSD:masterfrom
thierrygosselin:fix-realsfs-sfs-dimension-status
Open

thierrygosselin wants to merge 1 commit into
ANGSD:masterfrom
thierrygosselin:fix-realsfs-sfs-dimension-status

Conversation

@thierrygosselin

Copy link
Copy Markdown

realSFS already detects when the supplied SFS prior has a dimension that does not match the SAF data. However, this validation failure previously terminated with exit(0), which reports successful completion to automated pipelines.

This change returns EXIT_FAILURE when the SFS prior dimension is incompatible with the SAF data.

No likelihood, SFS or population-statistics calculations are changed. The change only makes an existing validation error visible to workflow managers and shell pipelines.

@thierrygosselin

Copy link
Copy Markdown
Author

Related to #637

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