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:
215cda8
)
JAL-1822 create dataset sequences if they aren’t already created before checking...
author
Jim Procter
<jprocter@issues.jalview.org>
Wed, 5 Aug 2015 17:09:59 +0000
(18:09 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Wed, 5 Aug 2015 17:09:59 +0000
(18:09 +0100)
note JAL-407 - should really search for copies of the nucleotides in the local dataset and merge rather than create new ones willynilly!
src/jalview/gui/AlignViewport.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignViewport.java
b/src/jalview/gui/AlignViewport.java
index
c18c989
..
29c4fde
100644
(file)
--- a/
src/jalview/gui/AlignViewport.java
+++ b/
src/jalview/gui/AlignViewport.java
@@
-801,6
+801,17
@@
public class AlignViewport extends AlignmentViewport implements
*/
if (Cache.getDefault(Preferences.ENABLE_SPLIT_FRAME, true))
{
+ if (al.getDataset() == null)
+ {
+ // need to create ds seqs
+ for (SequenceI sq : al.getSequences())
+ {
+ if (sq.getDatasetSequence() == null)
+ {
+ sq.createDatasetSequence();
+ }
+ }
+ }
if (AlignmentUtils.isMappable(al, getAlignment()))
{
if (openLinkedAlignment(al, title))