import jalview.datamodel.SequenceI;
import jalview.gui.AlignFrame;
import jalview.gui.Desktop;
+import jalview.gui.PaintRefresher;
import jalview.gui.WebserviceInfo;
import jalview.io.NewickFile;
import jalview.io.packed.JalviewDataset;
SUBMIT, POLL
}
- protected RestClient restClient;;
+ protected RestClient restClient;
public RestJobThread(RestClient restClient)
{
if (sg.getName() != null)
{
exsg = groupNames.get(sg.getName());
- recovered = true;
}
if (exsg == null)
{
visgrps.add(exsg);
exsg.setStartRes(sg.getStartRes() + contigs[ncnt]);
exsg.setEndRes(sg.getEndRes() + contigs[ncnt]);
+ } else {
+ recovered = true;
}
// now replace any references from the result set with
// corresponding refs from alignment input set.
visan.sequenceRef = sqass;
visAlAn.add(visan);
}
+ if (contigs[ncnt]+alan[nrj][an].annotations.length>visan.annotations.length)
+ {
+ // increase width of annotation row
+ Annotation[] newannv = new Annotation[contigs[ncnt]+alan[nrj][an].annotations.length];
+ System.arraycopy(visan.annotations, 0, newannv, 0, visan.annotations.length);
+ visan.annotations=newannv;
+ }
// now copy local annotation data into correct position
System.arraycopy(alan[nrj][an].annotations, 0,
visan.annotations, contigs[ncnt],
destcs = destColsel.get(als);
destaf = new AlignFrame(destal, destcs, AlignFrame.DEFAULT_WIDTH,
AlignFrame.DEFAULT_HEIGHT);
+ PaintRefresher.Refresh(destaf, destaf.getViewport().getSequenceSetId());
// todo transfer any feature settings and colouring
/*
* destaf.getFeatureRenderer().transferSettings(this.featureSettings);