Skip to content

Commit

Permalink
Update warning message.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnbroad committed Sep 5, 2023
1 parent bc51ad3 commit ad5c9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/htsjdk/variant/vcf/VCFCodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public Object readActualHeader(final LineIterator lineIterator) {
version = VCFHeaderVersion.toHeaderVersion(lineFields[1]);
if (Defaults.LENIENT_VCF_4_4 == true && version == VCFHeaderVersion.VCF4_4 ) {
// if lenient is enabled, accept VCFv4.4 as input, but treat it as VCFv4.3, and hope for the best
log.warn("********** WARNING: VCFv4.4 is not yet supported - processing as VCF4.3! **********");
log.warn("********** VCFv4.4 is not yet fully supported - processing VCFv4.4 input as VCFv4.3! **********");
version = VCFHeaderVersion.VCF4_3;
} else if ( version != VCFHeaderVersion.VCF4_0 && version != VCFHeaderVersion.VCF4_1 && version != VCFHeaderVersion.VCF4_2 && version != VCFHeaderVersion.VCF4_3)
throw new TribbleException.InvalidHeader("This codec is strictly for VCFv4 and does not support " + lineFields[1]);
Expand Down

0 comments on commit ad5c9e9

Please sign in to comment.