JAL-2154 use right reference string for recovering saved project
authorJim Procter <jprocter@issues.jalview.org>
Fri, 19 Aug 2016 10:11:04 +0000 (11:11 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 19 Aug 2016 10:11:04 +0000 (11:11 +0100)
test/jalview/io/CrossRef2xmlTests.java

index d8cf9eb..154abc0 100644 (file)
@@ -162,7 +162,7 @@ public class CrossRef2xmlTests extends Jalview2xmlBase
               Desktop.instance.closeAll_actionPerformed(null);
               // recover stored project
               AlignFrame af2 = new FileLoader(false)
-                      .LoadFileWaitTillLoaded(savedProjects.get(first)
+                      .LoadFileWaitTillLoaded(savedProjects.get(nextxref)
                               .toString(), FormatAdapter.FILE);
               // gymnastics to recover the alignPanel/Complementary alignPanel
               if (af2.getViewport().isNucleotide())