Merge pull request #474 from broadinstitute/eb_fix_haplotype_resolver_PT63333488

Fixing the Haplotype Resolver so that it doesn't complain about missing header lines
This commit is contained in:
Eric Banks 2014-01-14 07:36:53 -08:00
commit e4fdc5ac44
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ public class HaplotypeResolver extends RodWalker<Integer, Integer> {
}
private void writeOne(final VariantContext vc, final String set, final String status) {
final Map<String, Object> attrs = new HashMap<String, Object>(vc.getAttributes());
final Map<String, Object> attrs = new HashMap<>();
if ( SET_KEY != null && set != null )
attrs.put(SET_KEY, set);
if ( STATUS_KEY != null && status != null )