import jalview.io.StructureFile;
import jalview.schemes.ResidueProperties;
import jalview.structure.StructureMapping;
+import jalview.util.DBRefUtils;
import jalview.util.Format;
import jalview.xml.binding.sifts.Entry;
import jalview.xml.binding.sifts.Entry.Entity;
}
if (isValidDBRefEntry(dbRef)
&& dbRef.isPrimary()
- && (dbRef.getSource().equalsIgnoreCase(DBRefSource.UNIPROT) || dbRef
- .getSource().equalsIgnoreCase(DBRefSource.PDB)))
+ && (DBRefUtils.getCanonicalName(dbRef.getSource())
+ .equalsIgnoreCase(DBRefSource.UNIPROT) || DBRefUtils
+ .getCanonicalName(dbRef.getSource())
+ .equalsIgnoreCase(DBRefSource.PDB)))
{
return dbRef;
}