assertTrue(
af.getViewport().getGlobalColourScheme() instanceof RNAHelicesColour,
"Couldn't apply RNA helices colourscheme");
- assertTrue(af.saveAlignment(tfile, FileFormat.Jalview),
+ af.saveAlignment(tfile, FileFormat.Jalview);
+ assertTrue(af.isSaveAlignmentSuccessful(),
"Failed to store as a project.");
af.closeMenuItem_actionPerformed(true);
af = null;
.getAlignment(), af.getViewport().getGlobalColourScheme()
.getSchemeName()), "Recognise T-Coffee score from string");
- assertTrue(af.saveAlignment(tfile, FileFormat.Jalview),
+ af.saveAlignment(tfile, FileFormat.Jalview);
+ assertTrue(af.isSaveAlignmentSuccessful(),
"Failed to store as a project.");
af.closeMenuItem_actionPerformed(true);
af = null;
sg.addSequence(af.getViewport().getAlignment().getSequenceAt(1), false);
sg.addSequence(af.getViewport().getAlignment().getSequenceAt(2), true);
af.alignPanel.alignmentChanged();
- assertTrue(af.saveAlignment(tfile, FileFormat.Jalview),
+ af.saveAlignment(tfile, FileFormat.Jalview);
+ assertTrue(af.isSaveAlignmentSuccessful(),
"Failed to store as a project.");
af.closeMenuItem_actionPerformed(true);
af = null;
File tfile = File.createTempFile("JalviewTest", ".jvp");
tfile.deleteOnExit();
String filePath = tfile.getAbsolutePath();
- assertTrue(af.saveAlignment(filePath, FileFormat.Jalview),
+ af.saveAlignment(filePath, FileFormat.Jalview);
+ assertTrue(af.isSaveAlignmentSuccessful(),
"Failed to store as a project.");
/*