}
}
}
- }
+ } else
if (locationType.equalsIgnoreCase("join")) {
for (Enumeration le=locElements.elements();le.hasMoreElements();) {
EmblFeatureLocElement loce = (EmblFeatureLocElement) le.nextElement();
}
}
return se;
- }
+ } else
if (locationType!=null)
{
- jalview.bin.Cache.log.error("EmbleFeatureLocations.getElementRanges cannot deal with locationType=='"+locationType+"'");
+ if (jalview.bin.Cache.log!=null)
+ jalview.bin.Cache.log.error("EmbleFeatureLocations.getElementRanges cannot deal with locationType=='"+locationType+"'");
+ else
+ System.err.println("EmbleFeatureLocations.getElementRanges cannot deal with locationType=='"+locationType+"'");
}
// trim range if necessary.
if (se!=null && sepos!=se.length)