[vistrails-dev] [GIT] VisTrails: Bugfix: Axes operations in "Load Variable" panel were not being captured in the provenance.

git-noreply at vistrails.org git-noreply at vistrails.org
Tue Jan 10 15:18:12 EST 2012


The project "VisTrails":

The branch, uvcdat has been updated
       via  b39fb212eb9282eee7c540f21fd2233a83019b52 (commit)
      from  cfe3e582cd503d502ae000319dda0d22417c63ba (commit)


- Log -----------------------------------------------------------------
commit b39fb212eb9282eee7c540f21fd2233a83019b52
Author: Emanuele Santos <emanuelesantos at gmail.com>
Date:   Tue Jan 10 16:21:06 2012 -0300

Bugfix: Axes operations in "Load Variable" panel were not being captured in the provenance.

vistrails/packages/uvcdat_cdms/init.py
In class CDMSVariable:
to_python_script()
added missing quotes to eval statetement
fixed typo

applyAxesOperations()
replaced eval statement by ast.literal_eval() which is safer

vistrails/gui/uvcdat/variable.py
In VariableProperties.getUpdatedVar()
sending axes operations to CDMSVariable

-----------------------------------------------------------------------

Summary of changes:
 vistrails/gui/uvcdat/variable.py       |    3 ++-
 vistrails/packages/uvcdat_cdms/init.py |    7 ++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

-- 
VisTrails


More information about the vistrails-dev mailing list