bug fix in my new function at SampleUtils.java
This commit is contained in:
parent
99cb8d68e9
commit
c103623cf6
|
|
@ -143,8 +143,11 @@ public class SampleUtils {
|
|||
for ( Map.Entry<String, VCFHeader> val : VCF_Headers.entrySet() ) {
|
||||
VCFHeader header = val.getValue();
|
||||
for ( String sample : header.getGenotypeSamples() ) {
|
||||
if (samples.add(sample))
|
||||
if (samples.contains(sample)){
|
||||
|
||||
return false;
|
||||
}
|
||||
samples.add(sample);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue