*/
public void sendFeaturesToChimera(AlignmentViewPanel avp)
{
- // TODO send a command per feature with the range of residues it applies to
AlignmentI alignment = avp.getAlignment();
FeatureRenderer fr = getFeatureRenderer(avp);
StructureMappingcommandSet commandSet = ChimeraCommands
.getSetAttributeCommandsForFeatures(getSsm(), files,
getSequence(), fr, alignment);
- for (String command : commandSet.commands)
- {
- sendAsynchronousCommand(command, null);
- }
+ // for (String command : commandSet.commands)
+ // {
+ // sendAsynchronousCommand(command, null);
+ // }
+ sendCommandsByFile(commandSet.commands);
}
/**