}
/**
- * Returns a viewer command to set the given residue attribute value on residues
- * specified by the AtomSpecModel, for example
+ * Returns a viewer command to set the given residue attribute value on
+ * residues specified by the AtomSpecModel, for example
*
* <pre>
* setattr #0/A:3-9,14-20,39-43 res jv_strand 'strand' create true
String attributeValue, AtomSpecModel atomSpecModel)
{
StringBuilder sb = new StringBuilder(128);
- sb.append("setattr ").append(getAtomSpec(atomSpecModel, AtomSpecType.RESIDUE_ONLY));
+ sb.append("setattr ")
+ .append(getAtomSpec(atomSpecModel, AtomSpecType.RESIDUE_ONLY));
sb.append(" res ").append(attributeName).append(" '")
.append(attributeValue).append("'");
sb.append(" create true");
*/
cmd.append("; ribbon ");
cmd.append(getAtomSpec(spec, AtomSpecType.RESIDUE_ONLY)).append("|");
- cmd.append(getAtomSpec(ref, AtomSpecType.RESIDUE_ONLY)).append("; view");
+ cmd.append(getAtomSpec(ref, AtomSpecType.RESIDUE_ONLY))
+ .append("; view");
return Arrays.asList(new StructureCommand(cmd.toString()));
}