Skip to content

Commit

Permalink
oops, fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
meganshand committed Feb 22, 2023
1 parent b8c39dd commit fbdeba4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public void onTraversalStart() {

final VCFHeader inputHeader = getHeaderForVariants();

if (treeScoreThreshold > 0 && !inputHeader.getInfoHeaderLines().contains(GATKVCFConstants.TREE_SCORE)) {
if (treeScoreThreshold > 0 && inputHeader.getInfoHeaderLine(GATKVCFConstants.TREE_SCORE) == null) {
throw new UserException("-" + TREE_SCORE_THRESHOLD_LONG_NAME + " is set to value greater than 0: " + treeScoreThreshold
+ ", but the " + GATKVCFConstants.TREE_SCORE + " annotation is not present in the input GVCF.");
}
Expand Down

0 comments on commit fbdeba4

Please sign in to comment.