Changeset 711 for trunk/examples


Ignore:
Timestamp:
May 7, 2007 3:18:15 PM (17 years ago)
Author:
mmc
Message:

Fixed the older MoleculeViewer? to work properly with the add/delete
calls needed for the new PyMol?-based viewer.

Disabled the syncCutBuffer stuff in mainwin that used to be used for
copy/paste with desktop. This never worked very well, and we have
the newer upload/download stuff in place now.

A few small tweaks to the graph example and the loader example.

Location:
trunk/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/graph/graph.py

    r555 r711  
    2727
    2828io.put('output.curve(result).about.label','Formula: Y vs X',append=0)
     29io.put('output.curve(result).yaxis.label','Y')
     30io.put('output.curve(result).xaxis.label','X')
    2931
    3032for i in range(npts):
  • trunk/examples/zoo/loader/tool.xml

    r72 r711  
    2222    </about>
    2323    <example>*.xml</example>
     24    <upload>
     25      <to>input.string(one)</to>
     26      <to>input.string(two)</to>
     27    </upload>
     28    <download>
     29      <from>input.string(one)</from>
     30      <from>input.string(two)</from>
     31    </download>
    2432  </loader>
    2533
     
    3442    </about>
    3543  </string>
     44  <number id="e">
     45    <about>
     46      <label>Mass</label>
     47    </about>
     48    <units>kg</units>
     49    <default>10g</default>
     50  </number>
    3651</input>
    3752</run>
Note: See TracChangeset for help on using the changeset viewer.