Skip to content

Conversation

@tpoterba
Copy link
Contributor

No description provided.


def withErrorID(aj: Int, ak: Int, phased: Boolean, errorID: Int): Call = {
if (aj < 0 || ak < 0)
fatal(s"allele indices must be >= 0. Found j=$aj and k=$ak.")
Copy link
Member

Choose a reason for hiding this comment

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

Should this be tagged with the errorID too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, good catch

@johnc1231
Copy link
Contributor

Thanks for catching this, sorry about that.

@johnc1231
Copy link
Contributor

@tpoterba failing the test you wrote

@tpoterba
Copy link
Contributor Author

tpoterba commented Nov 1, 2021

yep, will fix when done with docs

@tpoterba
Copy link
Contributor Author

tpoterba commented Nov 2, 2021

Commented out the phased test -- this was meant to fail, and I didn't intend to fix that in this PR (it's hard, we need to change the Call representation...)

@tpoterba
Copy link
Contributor Author

tpoterba commented Nov 2, 2021

Addressed Patrick's comment.

@danking danking merged commit 9d477a2 into hail-is:main Nov 2, 2021
pwc2 pushed a commit to pwc2/hail that referenced this pull request Nov 12, 2021
…11023)

* [query] Fix bug in call decoding, add error ID to lgt_to_gt

* address comments, comment out phased test
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.

4 participants