Merge branch 'releases/Release_2_10_0_Branch'
[jalview.git] / src / jalview / structure / StructureSelectionManager.java
index 2e0975d..da52940 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -390,11 +390,9 @@ public class StructureSelectionManager
       {
         registerPDBFile(pdb.getId().trim(), pdbFile);
       }
-      // if PDB/mmCIF file is local then don't perform SIFTS MAPPING
-      if (pdb.getId().contains("."))
-      {
-        isMapUsingSIFTs = false;
-      }
+      // if PDBId is unavailable then skip SIFTS mapping execution path
+      isMapUsingSIFTs = pdb.isPPDBIdAvailable();
+
     } catch (Exception ex)
     {
       ex.printStackTrace();