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:
commit
e4fdc5ac44
|
|
@ -258,7 +258,7 @@ public class HaplotypeResolver extends RodWalker<Integer, Integer> {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void writeOne(final VariantContext vc, final String set, final String status) {
|
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 )
|
if ( SET_KEY != null && set != null )
|
||||||
attrs.put(SET_KEY, set);
|
attrs.put(SET_KEY, set);
|
||||||
if ( STATUS_KEY != null && status != null )
|
if ( STATUS_KEY != null && status != null )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue