for (Jws2Instance svc : disc.getServices())
{
- if (svc.getServiceTypeURI().toLowerCase().contains("rnaalifoldws"))
+ if (svc.getNameURI().toLowerCase().contains("rnaalifoldws"))
{
rnaalifoldws = svc;
}
assertNotNull("Couldn't load test data ('" + testseqs + "')", af);
// remove any existing annotation
- List<AlignmentAnnotation> aal = new ArrayList<AlignmentAnnotation>();
+ List<AlignmentAnnotation> aal = new ArrayList<>();
for (AlignmentAnnotation rna : af.getViewport().getAlignment()
.getAlignmentAnnotation())
{
} while (af.getViewport().getCalcManager().isWorking());
AlignmentI orig_alig = af.getViewport().getAlignment();
-
+ // JBPNote: this assert fails (2.10.2) because the 'Reference Positions'
+ // annotation is mistakenly recognised as an RNA annotation row when read in
+ // as an annotation file.
verifyAnnotationFileIO("Testing RNAalifold Annotation IO", orig_alig);
}
@Test(groups = { "Network" })
public void testRnaalifoldSettingsRecovery()
{
- List<Argument> opts = new ArrayList<Argument>();
+ List<Argument> opts = new ArrayList<>();
for (Argument rg : (List<Argument>) rnaalifoldws.getRunnerConfig()
.getArguments())
{