Ticket #10286: trac_10286_call_jmol_correctly.patch

File trac_10286_call_jmol_correctly.patch, 929 bytes (added by Volker Braun, 12 years ago)

Apply to sage library

  • sage/plot/plot3d/base.pyx

    # HG changeset patch
    # User Volker Braun <vbraun@stp.dias.ie>
    # Date 1290032054 18000
    # Node ID bc31b2b1d800ffa0d063590ec043fc9c9164c758
    # Parent  8f4d69c0b047c1a1f9e283f0be215b95f080406e
    Trac 10286: run jmol directly, and not via sage-native-execute
    
    diff -r 8f4d69c0b047 -r bc31b2b1d800 sage/plot/plot3d/base.pyx
    a b  
    11101110
    11111111            T = self._prepare_for_jmol(frame, axes, frame_aspect_ratio, aspect_ratio, zoom)
    11121112            T.export_jmol(archive_name, force_reload=EMBEDDED_MODE, zoom=zoom*100, **kwds)
    1113             viewer_app = "sage-native-execute " + os.path.join(sage.misc.misc.SAGE_LOCAL, "bin/jmol")
     1113            viewer_app = os.path.join(sage.misc.misc.SAGE_LOCAL, "bin/jmol")
    11141114
    11151115            # We need a script to load the file
    11161116            f = open(filename + '.jmol', 'w')