#12299: Upgrade Jmol to 12.3.27, Advance Jmol Interactive Features in Flask
Notebook
--------------------------------------------------------------+-------------
       Reporter:  gutow                                       |         Owner:  
jason, mpatel, was                                                       
           Type:  enhancement                                 |        Status:  
needs_review                                                             
       Priority:  major                                       |     Milestone:  
sage-pending                                                             
      Component:  notebook                                    |    Resolution:  
                                                                         
       Keywords:  Jmol, 3D, notebook                          |   Work issues:  
                                                                         
Report Upstream:  Fixed upstream, in a later stable release.  |     Reviewers:  
Karl-Dieter Crisman, Steven Trogdon, Punarbasu Purkayastha, John Palmieri
        Authors:  Jonathan Gutow                              |     Merged in:  
                                                                         
   Dependencies:  #11080,#11078,#11503,#13121                 |      Stopgaps:  
                                                                         
--------------------------------------------------------------+-------------

Comment (by gutow):

 Replying to [comment:166 ddrake]:

 If you just run the shell script you will get no output as the result goes
 to the shell result variable.  The subprocess.call picks them up fine.  If
 you want to run the script by hand and see the codes you need to uncomment
 the last two lines to make the script look like below.  I don't think we
 want this script returning long text messages.  So that's why I've
 stripped them out.  I also do not think we want to start with
 #!/usr/bin/env bash because that is not the standard way of prefacing most
 shell scripts that I've seen.  I'm not fully clear on the difference, but
 since this script is launching as its own process, I want it to behave as
 any independent process on the computer.


 {{{
 #!/bin/bash
 type -atp java
 OUT=$?
 #echo $OUT
 if [ $OUT -eq 0 ]; then
 #found java now check 1.5<=version<=1.7
 #version >1.7 may be OK just not checked yet.
   java -version 2>&1|grep version.*[1]\.[567]
 #else
 #  echo "1"
 fi
 OUT=$?
 echo $OUT
 }}}

 Although scripts default to retuning the output value of the last command
 run, we could put in explicit exit # lines if we want.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12299#comment:167>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to