Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve error message when we can't find a ReferenceRegion for a contig #582
Is there something that explains what defines a valid fragment? Also do you have perferences regarding how to fail at this point? Default quietly to an empty value? Raise a RuntimeException? Meaning what is the style of error processing you follow here in this project?
Requirements question. I am looking at fixing this issue with some defensive coding in:
Looking at the code in:
I see that if any of the following referenced fields aren't valued we would get None because of the generators used in the for-comprehension:
So which of these fields is required to properly create a ReferenceRegion? Is this an error or is it more legit for me to silently create some empty Seq[(ReferenceRegion, String)] if ReferenceRegion(fragment) produces a None?