[vistrails-dev] [GIT] VisTrails: Bugfixes to Plot Properties:

git-noreply at vistrails.org git-noreply at vistrails.org
Tue Jan 17 19:05:15 EST 2012


The project "VisTrails":

The branch, uvcdat has been updated
       via  f3040ea360dca45f7bd8a99f2ad360e0e3f9ef2f (commit)
       via  3cc2e59e5da845351e9437534e59ca0c78d7496a (commit)
      from  c43e996acdeb1498cb210a3a41df9fcc17f7c262 (commit)


- Log -----------------------------------------------------------------
commit f3040ea360dca45f7bd8a99f2ad360e0e3f9ef2f
Author: Emanuele Santos <emanuelesantos at gmail.com>
Date:   Tue Jan 17 21:01:02 2012 -0300

Bugfixes to Plot Properties:
- Widget was not being updated after changes
- Fixed ordering of plots in plot overlay
- Making sure to persist the changes to a plot type that has just been added
- Making sure to persist the changes to a plot type when switching plots before hitting Apply
Also fixed an error in the script generated by view visualization source

vistrails/core/uvcdat/plot_pipeline_helper.py
added new method PlotPipelineHelper.get_value_from_function_as_str()

vistrails/packages/uvcdat/init.py
In Variable.from_module()
making sure filename is a string

vistrails/gui/uvcdat/project_controller.py
In ProjectController.update_plot_configure()
Taking into consideration when a cell is empty

vistrails/packages/uvcdat_cdms/widgets.py
class GraphicsMethodConfigurationWidget:
updateVistrail()
check if the module needs to be added to the pipeline before submitting function changes
new method checkForChanges()

vistrails/packages/uvcdat_cdms/pipeline_helper.py
In CDMSPipelineHelper.build_python_script_from_pipeline()
Fixed bug where plot attributes were being printed as a string when they shouldn't
class CDMSPlotWidget
new method update_version()
new method plot_order_changed()
making sure to update move up and down buttons state when the order is changed
keeping track when the variables changed
keeping track when the order of plots changed
saving properties before switchin plot types

commit 3cc2e59e5da845351e9437534e59ca0c78d7496a
Author: Emanuele Santos <emanuelesantos at gmail.com>
Date:   Tue Jan 17 15:26:03 2012 -0300

Bugfixes:
- Names of computed variables are now displayed correctly in Plot Properties
- Computed variables are now loaded in Variables panel when loading a Project

--

vistrails/core/uvcdat/plot_pipeline_helper.py
PlotPipelineHelper.find_modules_by_type()
now accepts a list of types

vistrails/packages/uvcdat_cdms/pipeline_helper.py
class CDMSPipelineHelper:
removed method get_fun_value_from_module as super class has already
another method with the same functionality
added new methods:
get_variable_name_from_module()
find_variables_connected_to_operation_module()
find_variables_connected_to_n_ary_operation_module()

show_configuration_widget()
including varaible operations to the list of variables
copy_pipeline_to_other_location()
load_pipeline_in_location()
updating input parameters of find_modules_by_type()
get_graphics_method_name_from_module()
get_template_name_from_module()
replaced get_fun_value_from_module by get_value_from_function

In CDMSPlotWidget.update_plot_vars()
In VarTableWidget.create_var_item()
using CDMSPipelineHelper.get_variable_name_from_module() to get variable names
In AddCDMSVarDialog.create_list()
also loading computed variables
In CDMSVarListWidgetItem.__init__()
added parameter t to store the type of the variable

vistrails/packages/uvcdat_cdms/init.py
In CDMSVariable.from_module()
replaced get_fun_value_from_module by get_value_from_function

In CDMSVariableOperation
from_module()
replaced get_fun_value_from_module by get_value_from_function
added new method set_variables()
to_python_script()
setting the id of the computed variable to the variable name

In CDMS*aryOperation
added constructor
reimplemented set_variables()
In to_python()
setting the id of the computed variable to the variable name

vistrails/gui/uvcdat/project_controller.py
class ProjectController
emit_defined_variable()
also considering computed variables
new method load_computed_variables_from_modules()
search_and_emit_new_varaibles()
updating input parameters of find_modules_by_type()
also considering computed variables

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

Summary of changes:
 vistrails/core/uvcdat/plot_pipeline_helper.py     |   11 +-
 vistrails/gui/uvcdat/project_controller.py        |   71 +++++-
 vistrails/packages/uvcdat/init.py                 |    2 +-
 vistrails/packages/uvcdat_cdms/init.py            |   71 +++++--
 vistrails/packages/uvcdat_cdms/pipeline_helper.py |  245 +++++++++++++++------
 vistrails/packages/uvcdat_cdms/widgets.py         |   30 +++-
 6 files changed, 332 insertions(+), 98 deletions(-)

-- 
VisTrails


More information about the vistrails-dev mailing list