alnCpy.setDataset(result.getDataset());
for (AlignmentAnnotation annotation : result.getAlignmentAnnotation())
alnCpy.addAnnotation(new AlignmentAnnotation(annotation));
+ if (result.hasSeqrep())
+ {
+ int idx = result.findIndex(result.getSeqrep());
+ if (idx >= 0)
+ alnCpy.setSeqrep(alnCpy.getSequenceAt(idx));
+ }
displayResultsNewFrame(alnCpy);
});
SwingUtilities.invokeLater(infoPanel::setResultsReady);