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

Fixed the broken test in DirichletAlleleDepthAndFractionIntegrationTest #7963

Merged
merged 1 commit into from
Dec 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.broadinstitute.hellbender.tools.walkers.haplotypecaller.HaplotypeCaller;
import org.broadinstitute.hellbender.tools.walkers.mutect.SomaticLikelihoodsEngine;
import org.broadinstitute.hellbender.utils.Utils;
import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

Expand All @@ -20,13 +21,21 @@ public class DirichletAlleleDepthAndFractionIntegrationTest extends GatkToolInte

public static final String TEST_FILES_DIR = toolsTestDir + "haplotypecaller/";

public static final boolean UPDATE_EXACT_MATCH_EXPECTED_OUTPUTS = true;
public static final boolean UPDATE_EXACT_MATCH_EXPECTED_OUTPUTS = false;

@Override
public String getTestedToolName() {
return HaplotypeCaller.class.getSimpleName();
}

/*
* Make sure that someone didn't leave the UPDATE_EXACT_MATCH_EXPECTED_OUTPUTS toggle turned on
*/
@Test
public void assertThatExpectedOutputUpdateToggleIsDisabled() {
Assert.assertFalse(UPDATE_EXACT_MATCH_EXPECTED_OUTPUTS, "The toggle to update expected outputs should not be left enabled");
}

/*
* Test that in VCF mode we're consistent with past GATK4 results
*/
Expand Down