File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
biojava-structure-gui/src/main/java/org/biojava/nbio/structure/symmetry/gui Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ public static AbstractAlignmentJmol display(CeSymmResult symmResult)
134134 jmol .evalString (printSymmetryGroup (symmResult ));
135135 jmol .evalString (printSymmetryAxes (symmResult ));
136136 jmol .setTitle (getSymmTitle (symmResult ));
137+ jmol .evalString ("save STATE state_1" );
137138 return jmol ;
138139 } else {
139140 // Show the optimal self-alignment
@@ -145,6 +146,7 @@ public static AbstractAlignmentJmol display(CeSymmResult symmResult)
145146 cloned );
146147 RotationAxis axis = new RotationAxis (symmResult .getSelfAlignment ());
147148 jmol .evalString (axis .getJmolScript (symmResult .getAtoms ()));
149+ jmol .evalString ("save STATE state_1" );
148150 return jmol ;
149151 }
150152 }
Original file line number Diff line number Diff line change @@ -68,11 +68,14 @@ public void actionPerformed(ActionEvent ae) {
6868 MultipleAlignmentJmol j = SymmetryDisplay .displayRepeats (symm );
6969 String s = SymmetryDisplay .printSymmetryAxes (symm , false );
7070 j .evalString (s );
71+ j .evalString ("save STATE state_1" );
72+
7173
7274 } else if (cmd .equals ("Multiple Structure Alignment" )) {
7375 MultipleAlignmentJmol j = SymmetryDisplay .displayFull (symm );
7476 String s = SymmetryDisplay .printSymmetryAxes (symm );
7577 j .evalString (s );
78+ j .evalString ("save STATE state_1" );
7679
7780 } else if (cmd .equals ("Optimal Self Alignment" )) {
7881 Atom [] cloned = StructureTools .cloneAtomArray (symm .getAtoms ());
You can’t perform that action at this time.
0 commit comments