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

removed arrays code, renamed packages #7260

Merged
merged 3 commits into from
May 19, 2021
Merged

removed arrays code, renamed packages #7260

merged 3 commits into from
May 19, 2021

Conversation

kcibul
Copy link
Contributor

@kcibul kcibul commented May 19, 2021

Conceptually -- two things happen in this PR.

  1. Removed "arrays" code
  2. Refactored package names into

...gvs
|- ingest
|- filtering
|- extract
- common

All tests pass (can be run with ./gradlew test --tests "org.broadinstitute.hellbender.tools.gvs*"). I will run a full workflow in Terra (import, train, extract) and verify

BEFORE we merge, we'll the existing "ah_var_store" to indicate this is where array code lives

@kcibul
Copy link
Contributor Author

kcibul commented May 19, 2021

On second thought -- to simplify the merge to master we may take a different approach (copying files, squashing, etc) so I'm updating the approach above for this PR

@kcibul kcibul marked this pull request as ready for review May 19, 2021 14:50
Copy link
Contributor

@ahaessly ahaessly left a comment

Choose a reason for hiding this comment

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

one minor suggestion

@@ -178,8 +178,6 @@ public void onTraversalStart() {
case GENOMES:
vetTsvCreator = new VetTsvCreator(sampleIdentifierForOutputFileName, sampleId, tableNumberPrefix, outputDir);
break;
case ARRAYS:
Copy link
Contributor

Choose a reason for hiding this comment

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

do we even need this switch statement? we make the same call for both exomes and genomes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes! I was restraining myself to clean up code and save that for the next PR. Mostly to make the review of this PR easy (ie it's all structural, you don't need to look at each line of code) and the next one smaller, but where the lines of code matter. We also have some "common" code that is now really tool specific that we can shift. Things like the above, etc.

@kcibul kcibul merged commit da00fd6 into ah_var_store May 19, 2021
@kcibul kcibul deleted the gvs branch May 19, 2021 19:15
@kcibul kcibul restored the gvs branch May 19, 2021 19:59
@kcibul kcibul deleted the gvs branch May 19, 2021 20:05
This was referenced Mar 17, 2023
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.

3 participants