git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3855 try harder to ignore DNA/RNA only structures when deciding whether to downlo...
[jalview.git]
/
src
/
jalview
/
structure
/
StructureSelectionManager.java
diff --git
a/src/jalview/structure/StructureSelectionManager.java
b/src/jalview/structure/StructureSelectionManager.java
index
1fcbbf5
..
ad57831
100644
(file)
--- a/
src/jalview/structure/StructureSelectionManager.java
+++ b/
src/jalview/structure/StructureSelectionManager.java
@@
-413,7
+413,14
@@
public class StructureSelectionManager
// TODO: JAL-3868 need to know if structure is actually from
// PDB (has valid PDB ID and has provenance suggesting it
// actually came from PDB)
// TODO: JAL-3868 need to know if structure is actually from
// PDB (has valid PDB ID and has provenance suggesting it
// actually came from PDB)
- isMapUsingSIFTs = isMapUsingSIFTs && pdb.isPPDBIdAvailable() && !pdb.getId().startsWith("AF-");
+ boolean isProtein = false;
+ for (SequenceI s:sequenceArray) {
+ if (s.isProtein()) {
+ isProtein = true;
+ break;
+ }
+ }
+ isMapUsingSIFTs = isMapUsingSIFTs && pdb.isPPDBIdAvailable() && !pdb.getId().startsWith("AF-") && isProtein;
} catch (Exception ex)
{
} catch (Exception ex)
{