Ignore:
Timestamp:
Sep 9, 2005 10:03:21 AM (16 years ago)
Author:
dkearney
Message:

python/Rappture/number.py

  • added ability for number to choose between default and current tags
  • changed structure of init so the basePath and the id are separate arguments to keep compatibility with how the driver program expects a number xml structure

python/Rappture/interface.py

  • included a more complete xml structure including tool and command i structures, for writing the xml to the file when the -g option is used
  • adjusted the finish() function to utilize the new Rappture.result() function

examples/app-fermi/fermi_io.py

  • adjusted the Rappture.number() fxn call to split the path and id.
  • commented out the result = [] because we now write the result to xml

examples/app-fermi/fermi.py

  • added output section with curve xml details for writing to xml
  • directly write the results to xml instead of to a result[] array

gui/apps/rerun

  • added script to re-visualize output from previously created run.xml file
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/app-fermi/fermi_io.py

    r10 r55  
    1818#result = []
    1919
    20 T = Rappture.number('input.temperature', units='K', default=300)
    21 Ef = Rappture.number('input.Ef', units='eV', default=-5.5)
     20T = Rappture.number('input', id="temperature", units='K', default=300)
     21Ef = Rappture.number('input', id="Ef", units='eV', default=-5.5)
    2222
    2323#result = Rappture.table('output.result') \
    2424#           .column('Energy (eV)',units='eV') \
    2525#           .column('Fermi-Dirac Factor')
    26 result = []
     26#result = []
Note: See TracChangeset for help on using the changeset viewer.