Bug fix: don't assume users won't use arbitrary rods on the commandline
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5040 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
b6497c404f
commit
c3dbbe7f91
|
|
@ -149,7 +149,7 @@ public class PileupWalker extends LocusWalker<Integer, Integer> implements TreeR
|
|||
private String getReferenceOrderedData( RefMetaDataTracker tracker ) {
|
||||
ArrayList<String> rodStrings = new ArrayList<String>();
|
||||
for ( GATKFeature datum : tracker.getAllRods() ) {
|
||||
if ( datum != null && ! (datum.getUnderlyingObject() instanceof DbSNPFeature)) {
|
||||
if ( datum != null && datum.getUnderlyingObject() instanceof ReferenceOrderedDatum ) {
|
||||
rodStrings.add(((ReferenceOrderedDatum)datum.getUnderlyingObject()).toSimpleString()); // TODO: Aaron: this line still survives, try to remove it
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue