For multiple matches, shifted counter to be 1-based
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3370 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
73e2e32837
commit
68719615be
|
|
@ -301,7 +301,7 @@ public class VariantAnnotatorEngine {
|
|||
// dbSNP.avHet=value1 from record 1 and dbSNP.avHet=value2 from record 2 will become dbSNP.avHet_1=value1 and dbSNP.avHet_2=value2 )
|
||||
Map<String,String> annotationsForRecordWithRenamedKeys = new HashMap<String, String>();
|
||||
for(Map.Entry<String, String> annotation : annotationsForRecord.entrySet()) {
|
||||
annotationsForRecordWithRenamedKeys.put(annotation.getKey() + "_" + i, annotation.getValue());
|
||||
annotationsForRecordWithRenamedKeys.put(annotation.getKey() + "_" + (i + 1), annotation.getValue());
|
||||
}
|
||||
|
||||
annotationsForRecord = annotationsForRecordWithRenamedKeys;
|
||||
|
|
|
|||
Loading…
Reference in New Issue