X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructures%2Fmodels%2FAAStructureBindingModel.java;fp=src%2Fjalview%2Fstructures%2Fmodels%2FAAStructureBindingModel.java;h=44d698dafe9f27282aead9cf00cab8af2be94fce;hb=9c98d4bd666346f6ad3892c5394b7da3be82d93e;hp=9ecf630b571a4b54639c3378e8308a16f1d561a8;hpb=c7b2143c9cf7c5e05ad63251f7d3910751b16d20;p=jalview.git diff --git a/src/jalview/structures/models/AAStructureBindingModel.java b/src/jalview/structures/models/AAStructureBindingModel.java index 9ecf630..44d698d 100644 --- a/src/jalview/structures/models/AAStructureBindingModel.java +++ b/src/jalview/structures/models/AAStructureBindingModel.java @@ -70,9 +70,9 @@ import jalview.util.MessageManager; /** * - * A base class to hold common function for 3D structure model binding. - * Initial version created by refactoring JMol and Chimera binding models, but - * other structure viewers could in principle be accommodated in future. + * A base class to hold common function for 3D structure model binding. Initial + * version created by refactoring JMol and Chimera binding models, but other + * structure viewers could in principle be accommodated in future. * * @author gmcarstairs * @@ -591,7 +591,6 @@ public abstract class AAStructureBindingModel } } } - @Override public abstract void highlightAtoms(List atoms); @@ -925,8 +924,10 @@ public abstract class AAStructureBindingModel */ // todo better way to ensure synchronous than setting getReply true!! executeCommands(commandGenerator.showBackbone(), true, null); - - AtomSpecType backbone = structures[refStructure].isRna ? AtomSpecType.PHOSPHATE : AtomSpecType.ALPHA; + + AtomSpecType backbone = structures[refStructure].isRna + ? AtomSpecType.PHOSPHATE + : AtomSpecType.ALPHA; /* * superpose each (other) structure to the reference in turn */ @@ -941,7 +942,8 @@ public abstract class AAStructureBindingModel for (String reply : replies) { // return this error (Chimera only) to the user - if (reply.toLowerCase(Locale.ROOT).contains("unequal numbers of atoms")) + if (reply.toLowerCase(Locale.ROOT) + .contains("unequal numbers of atoms")) { error += "; " + reply; }