/**
*
- * 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
*
}
}
}
-
@Override
public abstract void highlightAtoms(List<AtomSpec> atoms);
*/
// 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
*/
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;
}