[vistrails-dev] [GIT] VisTrails: Bugfix: Fixed error where some filters did not work

git-noreply at vistrails.org git-noreply at vistrails.org
Mon Jan 16 15:21:38 EST 2012


The project "VisTrails":

The branch, uvcdat has been updated
       via  e9e5ff5595a9ecf6f3b43160105a0734eebd2a1b (commit)
       via  81f156fe2e68c4e3ac9d8aeb9fd1a45eebd505f6 (commit)
      from  ed3e1c803ca0d7f1b1c140a519deed8593190797 (commit)


- Log -----------------------------------------------------------------
commit e9e5ff5595a9ecf6f3b43160105a0734eebd2a1b
Author: Emanuele Santos <emanuelesantos at gmail.com>
Date:   Mon Jan 16 17:21:19 2012 -0300

Bugfix: Fixed error where some filters did not work

--
vistrails/gui/uvcdat/project_controller.py
In ProjectController.calculator_command()
Changed order of operations so the computed variable was not deleted by mistake

commit 81f156fe2e68c4e3ac9d8aeb9fd1a45eebd505f6
Author: Emanuele Santos <emanuelesantos at gmail.com>
Date:   Mon Jan 16 17:10:21 2012 -0300

Bugfix: Using "define as" on a computed variable was producing wrong results

--
vistrails/packages/uvcdat_cdms/init.py
Added new method CDMSVariable.__copy__()

vistrails/gui/uvcdat/variable.py
In VariableProperties.getUpdatedVar()
Needed to treat computed variables differently. When defining as from a computed variable, instead of creating a new variable we need to copy the original computed variable and update axes and axesOperations

vistrails/gui/uvcdat/project_controller.py
Added new method ProjectController.copy_computed_varaible()

vistrails/gui/uvcdat/definedVariableWidget.py
In QDefinedVariableWidget.setupDimsForEditMode()
make sure to reset varNameInFile to None when this is a computed variable

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

Summary of changes:
 vistrails/gui/uvcdat/definedVariableWidget.py |    2 ++
 vistrails/gui/uvcdat/project_controller.py    |   21 ++++++++++++++++++++-
 vistrails/gui/uvcdat/variable.py              |   21 ++++++++++++++-------
 vistrails/packages/uvcdat_cdms/init.py        |   17 +++++++++++++++++
 4 files changed, 53 insertions(+), 8 deletions(-)

-- 
VisTrails


More information about the vistrails-dev mailing list