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-3438 spotless for 2.11.2.0
[jalview.git]
/
src
/
jalview
/
gui
/
structurechooser
/
StructureChooserQuerySource.java
diff --git
a/src/jalview/gui/structurechooser/StructureChooserQuerySource.java
b/src/jalview/gui/structurechooser/StructureChooserQuerySource.java
index
1aad2e0
..
a4cf4ab
100644
(file)
--- a/
src/jalview/gui/structurechooser/StructureChooserQuerySource.java
+++ b/
src/jalview/gui/structurechooser/StructureChooserQuerySource.java
@@
-237,13
+237,17
@@
public abstract class StructureChooserQuerySource
if (refsAvailable > -1)
{
hasCanonical = true;
if (refsAvailable > -1)
{
hasCanonical = true;
- } else {
+ }
+ else
+ {
protWithoutCanon++;
}
hasUniprot = true;
protWithoutCanon++;
}
hasUniprot = true;
- } else {
+ }
+ else
+ {
protWithoutUni++;
protWithoutUni++;
-
+
}
}
}
}
}
}
@@
-251,7
+255,8
@@
public abstract class StructureChooserQuerySource
// logic: all canonicals - no fetchdb
// some uniprot no canonicals: defer to PDB, user can optionally fetch
//
// logic: all canonicals - no fetchdb
// some uniprot no canonicals: defer to PDB, user can optionally fetch
//
- if (hasProtein && hasCanonical && !hasNA && protWithoutCanon == 0 && protWithoutUni == 0)
+ if (hasProtein && hasCanonical && !hasNA && protWithoutCanon == 0
+ && protWithoutUni == 0)
{
return tdbSource;
{
return tdbSource;