Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor improvements to AbstractLocusIterator #1624

Merged
merged 1 commit into from
Oct 5, 2022
Merged

Conversation

lbergelson
Copy link
Member

  • Use SequenceUtil to compare dictionaries
  • Remove redundant sorting

@michaelgatzen Could you take a look at this? It turns out that IntervalList.uniqued() also sorts so I removed the other sorting, no good way to avoid it entirely.
I also switched the dictionary check to a more standard method that I hadn't known about, but it's now consistent with how other dictionary matching in CollectWgsMetrics is done.

* Use SequencUtil to compare dictionaries
* Remove redundant sorting
Copy link
Contributor

@michaelgatzen michaelgatzen left a comment

Choose a reason for hiding this comment

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

If the tests pass then sure, that works

@lbergelson lbergelson merged commit e490a97 into master Oct 5, 2022
@lbergelson lbergelson deleted the lb_dont_double_sort branch October 5, 2022 20:46
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.

2 participants