if (refsAvailable > -1)
{
hasCanonical = true;
- } else {
+ }
+ else
+ {
protWithoutCanon++;
}
hasUniprot = true;
- } else {
+ }
+ else
+ {
protWithoutUni++;
-
+
}
}
}
// 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;