Merge pull request #1414 from broadinstitute/rhl_sv_hashmap

Change HashMap to LinkedHashMap for predictable iteration order.
This commit is contained in:
Ron Levine 2016-06-23 12:22:43 -04:00 committed by GitHub
commit 4eff18a470
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ public class SelectVariants extends RodWalker<Integer, Integer> implements TreeR
private Map<String, VCFHeader> vcfRods; private Map<String, VCFHeader> vcfRods;
private final List<Allele> diploidNoCallAlleles = GATKVariantContextUtils.noCallAlleles(2); private final List<Allele> diploidNoCallAlleles = GATKVariantContextUtils.noCallAlleles(2);
private final Map<Integer, Integer> ploidyToNumberOfAlleles = new HashMap<Integer, Integer>(); private final Map<Integer, Integer> ploidyToNumberOfAlleles = new LinkedHashMap<Integer, Integer>();
/** /**
* Set up the VCF writer, the sample expressions and regexs, and the JEXL matcher * Set up the VCF writer, the sample expressions and regexs, and the JEXL matcher