From 834397b07c248ce9f5d55a8a67e41d4c4f52a407 Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Fri, 12 Jan 2018 15:34:21 +0000 Subject: [PATCH] JAL-2798 Aptx is now saved to the project --- src/jalview/gui/Jalview2XML.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 7c10544..abb9fa7 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -1112,7 +1112,15 @@ public class Jalview2XML for (TreeFrameI treeView : externalTreeViews) { TreeI tree = treeView.getTree(); - // tree.writeToJalviewProject(outputFile); + try + { + tree.writeToXml(new File("word")); + copyFileToJar(jout, "word", tree.getTreeName()); + } catch (IOException e) + { + // TODO Auto-generated catch block + e.printStackTrace(); + } } @@ -1546,7 +1554,7 @@ public class Jalview2XML String varnaStateFile = varna.getStateInfo(model.rna); jarEntryName = RNA_PREFIX + viewId + "_" + nextCounter(); - copyFileToJar(jout, varnaStateFile, jarEntryName); + rnaSessions.put(model, jarEntryName); } SecondaryStructure ss = new SecondaryStructure(); -- 1.7.10.2