Always print out VCF header - not just when there is genotype data present.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2114 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2009-11-23 01:44:10 +00:00
parent bf935a6ab1
commit 04d6ac940c
1 changed files with 1 additions and 1 deletions

View File

@ -60,8 +60,8 @@ public class VCFWriter {
if (header.hasGenotypingData()) {
b.append("FORMAT" + FIELD_SEPERATOR);
for (String field : header.getGenotypeSamples()) b.append(field + FIELD_SEPERATOR);
mWriter.write(b.toString() + "\n");
}
mWriter.write(b.toString() + "\n");
}
catch (IOException e) {
throw new RuntimeException("IOException writing the VCF header", e);