Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove unused method Fingerprint.filterSuspectSites() #1849

Merged
merged 2 commits into from
Mar 21, 2023

Conversation

lbergelson
Copy link
Member

@lbergelson lbergelson commented Jan 10, 2023

Description

Deleting an unused and untested method that was last modified in 2016. Noticed this when rebasing #1826

I'm under the impression that picard doesn't intend to act as a stable api for downstream projects so we're free to delete locally unused public methods?

Checklist (never delete this)

Never delete this, it is our record that procedure was followed. If you find that for whatever reason one of the checklist points doesn't apply to your PR, you can leave it unchecked but please add an explanation below.

Content

  • Added or modified tests to cover changes and any new functionality
  • Edited the README / documentation (if applicable)
  • All tests passing on Travis

Review

  • Final thumbs-up from reviewer
  • Rebase, squash and reword as applicable

For more detailed guidelines, see https://github.com/broadinstitute/picard/wiki/Guidelines-for-pull-requests

Copy link
Contributor

@droazen droazen left a comment

Choose a reason for hiding this comment

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

@lbergelson Back to you with a few questions

* Attempts to filter out haplotypes that may have suspect genotyping by removing haplotypes that reach
* a minimum confidence score yet have a significant fraction of observations from a third or fourth allele.
*/
public void filterSuspectSites() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Have you checked usages of this in picard-private? Perhaps @yfarjoun could comment on whether this method is likely to be in use / useful?

Copy link
Member Author

Choose a reason for hiding this comment

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

@droazen I can't find any uses of it in picardPrivate or the entirety of public github. It was last touched in 2016 by Eric.

@kachulis kachulis merged commit 62ec81c into master Mar 21, 2023
@kachulis kachulis deleted the lb_remove_unused_method branch March 21, 2023 17:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants