d6a01cac815bda24dafce9545740906b692b8b61,pyCellProfiler/cellprofiler/gui/pipelinelistview.py,PipelineListView,__adjust_rows,#PipelineListView#,231

Before Change


        self.__set_min_width()
        self.__pipeline_movie.slider.max_value = self.__grid.NumberRows
        self.__pipeline_movie.slider.value_names = \
            [module.module_name for module in self.__pipeline.modules()]
    
    def __populate_row(self, module):
        Populate a row in the grid with a module.

After Change


        Adjust slider and dimensions after adding or removing rows
        self.__set_min_width()
        self.__pipeline_slider.Max = self.__grid.NumberRows - 1
        if self.__grid.NumberRows > 0:
            if self.__debug_mode:
                self.__pipeline_slider.Show()
            old_value = self.__pipeline_slider.Value
            self.__pipeline_slider.SetMinSize((20, self.__grid.GetRowSize(0) * self.__grid.NumberRows))
            self.__pipeline_slider.Value = old_value
        else:
            self.__pipeline_slider.Hide()
            self.__pipeline_slider.SetMinSize((20, 10))
        self.__sizer.Layout()
        self.__panel.SetupScrolling(scroll_x=False, scroll_y=True)
    
    def __populate_row(self, module):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: d6a01cac815bda24dafce9545740906b692b8b61
Time: 2009-10-29
Author: thouis@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/gui/pipelinelistview.py
Class Name: PipelineListView
Method Name: __adjust_rows


Project Name: CellProfiler/CellProfiler
Commit Name: 99ecdc7b5dabf06ec9013b5c03a6b0c3a2f4d671
Time: 2010-04-26
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/gui/pipelinelistview.py
Class Name: PipelineListView
Method Name: on_data


Project Name: CellProfiler/CellProfiler
Commit Name: a742e23d10c88b0b37cba7950226d703356a542a
Time: 2010-02-19
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/relateobjects.py
Class Name: RelateObjects
Method Name: get_measurements