From 4622896312de494ed876a8c29dd00b8d5f22351b Mon Sep 17 00:00:00 2001 From: Eric Banks Date: Fri, 19 Oct 2012 13:04:05 -0400 Subject: [PATCH] Oops, killed contracts --- .../sting/gatk/walkers/compression/reducereads/BaseCounts.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protected/java/src/org/broadinstitute/sting/gatk/walkers/compression/reducereads/BaseCounts.java b/protected/java/src/org/broadinstitute/sting/gatk/walkers/compression/reducereads/BaseCounts.java index 3a3905710..778b8300a 100644 --- a/protected/java/src/org/broadinstitute/sting/gatk/walkers/compression/reducereads/BaseCounts.java +++ b/protected/java/src/org/broadinstitute/sting/gatk/walkers/compression/reducereads/BaseCounts.java @@ -227,7 +227,7 @@ import com.google.java.contract.Requires; * @param base base * @return the proportion of this base over all other bases except indels */ - @Requires("index.isNucleotide()") + @Requires("base.isNucleotide()") @Ensures({"result >=0.0", "result<= 1.0"}) public double baseCountProportionWithoutIndels(final BaseIndex base) { final int total = totalCountWithoutIndels();