[vistrails-dev] [GIT] VisTrails: Added support for N-ary Variable operations.

git-noreply at vistrails.org git-noreply at vistrails.org
Mon Jan 16 09:43:19 EST 2012


The project "VisTrails":

The branch, uvcdat has been updated
       via  ed3e1c803ca0d7f1b1c140a519deed8593190797 (commit)
       via  32a97e0a6a06215e385b5e4d24a89773f6ac558e (commit)
      from  25520b906a2a6e89fea43917f659c01934301a65 (commit)


- Log -----------------------------------------------------------------
commit ed3e1c803ca0d7f1b1c140a519deed8593190797
Author: Emanuele Santos <emanuelesantos at gmail.com>
Date:   Mon Jan 16 11:42:08 2012 -0300

Added support for N-ary Variable operations.
Fixed bug in renaming computed variable

--
vistrails/packages/uvcdat_cdms/pipeline_helper.py
class CDMSPipelineHelper:
in build_variable_operation_pipeline()
added support for n-ary variable operation
in build_python_script_from_pipeline()
added support for n=ary variable operation
making sure to sort the modules in topological order before generating the script

vistrails/packages/uvcdat_cdms/init.py
Added new class CDMSNaryVariableOperation

vistrails/core/uvcdat/plot_pipeline_helper.py
Added new method find_topo_sort_modules_by_types()

vistrails/gui/uvcdat/project_controller.py
class ProjectController:
in remove_defined_variable()
fixed typo
in calculator_command()
making sure to remove the variable from defined_variables if it exists

vistrails/gui/uvcdat/commandLineWidget.py
In  QCommandLine.issueCmd()
fixed a bug where the variables in n-ary operators were not being sent to vistrails

commit 32a97e0a6a06215e385b5e4d24a89773f6ac558e
Author: Emanuele Santos <emanuelesantos at gmail.com>
Date:   Mon Jan 16 09:27:40 2012 -0300

Bugfix: sometimes the name of the variables were not being parsed correctly in operations involving 2 variables

--
vistrails/packages/uvcdat_cdms/init.py
In CDMSVariableOperation:
new method: sort_variables_by_length()
In CDMSBinaryVariableOperation.to_python()
sorting the variables before replacing them in the python_command string so they are replaced correctly

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

Summary of changes:
 vistrails/core/uvcdat/plot_pipeline_helper.py     |   15 ++++
 vistrails/gui/uvcdat/commandLineWidget.py         |    3 +
 vistrails/gui/uvcdat/project_controller.py        |    5 +-
 vistrails/packages/uvcdat_cdms/init.py            |   87 +++++++++++++++++++--
 vistrails/packages/uvcdat_cdms/pipeline_helper.py |   45 +++++++----
 5 files changed, 131 insertions(+), 24 deletions(-)

-- 
VisTrails


More information about the vistrails-dev mailing list