git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492b8dc
)
JAL-2156 resolve and add complementary views for saveAlignment
author
Jim Procter
<jprocter@issues.jalview.org>
Wed, 27 Jul 2016 10:57:24 +0000
(11:57 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Wed, 27 Jul 2016 13:36:50 +0000
(14:36 +0100)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
9861697
..
b027246
100644
(file)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-635,9
+635,15
@@
public class Jalview2XML
JarOutputStream jout = new JarOutputStream(fos);
List<AlignFrame> frames = new ArrayList<AlignFrame>();
+ // resolve splitframes
+ if (af.getViewport().getCodingComplement() != null)
{
+ frames = ((SplitFrame) af.getSplitViewContainer()).getAlignFrames();
}
+ else
+ {
frames.add(af);
+ }
saveAllFrames(frames, jout);
try
{