package jalview.controller;
import jalview.analysis.AlignmentSorter;
+import jalview.analysis.Grouping;
import jalview.api.AlignViewControllerGuiI;
import jalview.api.AlignViewControllerI;
import jalview.api.AlignViewportI;
if (sg != null
&& (cs == null || cs.getSelected() == null || cs.size() == 0))
{
- gps = jalview.analysis.Grouping.makeGroupsFrom(
+ gps = Grouping.makeGroupsFrom(
viewport.getSequenceSelection(),
viewport.getAlignmentView(true).getSequenceStrings(
viewport.getGapCharacter()), viewport.getAlignment()
.getGroups());
} else {
if (cs!=null) {
- gps = jalview.analysis.Grouping.makeGroupsFromCols(
+ gps = Grouping.makeGroupsFromCols(
(sg == null) ? viewport.getAlignment().getSequencesArray()
: sg.getSequences().toArray(new SequenceI[0]), cs,
viewport.getAlignment().getGroups());