[vistrails-dev] [GIT] VisTrails: Parsing of variable names in calculator typed commands is now more robust

git-noreply at vistrails.org git-noreply at vistrails.org
Wed Jan 18 16:13:58 EST 2012


The project "VisTrails":

The branch, uvcdat has been updated
       via  d1d84008f3f13e291b885bf3bf61c71e341ae8d0 (commit)
      from  c547a904424bf9b62f048ce195be7bb25ec772f0 (commit)


- Log -----------------------------------------------------------------
commit d1d84008f3f13e291b885bf3bf61c71e341ae8d0
Author: Emanuele Santos <emanuelesantos at gmail.com>
Date:   Wed Jan 18 18:12:47 2012 -0300

Parsing of variable names in calculator typed commands is now more robust

--

vistrails/gui/uvcdat/project_controller.py
class ProjectController:

process_typed_calculator_command()
using new functions to find variables in command

vistrails/gui/uvcdat/commandLineWidget.py
making sure to validate presence of "=" before processing command

vistrails/packages/uvcdat_cdms/init.py
class  CDMSVariableOperation
removed sort_variables_by_length
added new methods
find_variable_in_command()
replace_variable_in_command()
classes CDMS*aryOperation
using more robust functions to build python command

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

Summary of changes:
 vistrails/gui/uvcdat/commandLineWidget.py  |    7 +-
 vistrails/gui/uvcdat/project_controller.py |   30 ++-------
 vistrails/packages/uvcdat_cdms/init.py     |   94 ++++++++++++++++++----------
 3 files changed, 71 insertions(+), 60 deletions(-)

-- 
VisTrails


More information about the vistrails-dev mailing list