Changeset 3e5648b in sasview for src/sas/sasgui/guiframe/local_perspectives/plotting/parameters_panel_slicer.py
- Timestamp:
- Apr 10, 2017 11:00:32 AM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 6e6dd4c
- Parents:
- 6267876
- git-author:
- Jeff Krzywon <krzywon@…> (04/10/17 11:00:32)
- git-committer:
- krzywon <krzywon@…> (04/10/17 11:00:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/plotting/parameters_panel_slicer.py
r3f75203 r3e5648b 14 14 15 15 FIT_OPTIONS = ["No fitting", "Fitting", "Batch Fitting"] 16 CONVERT_KEYS = ["SectorInteractor", "AnnulusInteractor", "BoxInteractorX", 17 "BoxInteractorY"] 16 18 CONVERT_DICT = {"SectorInteractor": "SectorQ", 17 19 "AnnulusInteractor": "AnnulusPhi", … … 138 140 self.bck.Add(text, (iy, ix), (1, 1), 139 141 wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15) 140 self.type_list = CONVERT_ DICT.keys()142 self.type_list = CONVERT_KEYS 141 143 self.type_select = wx.ComboBox(parent=self, choices=self.type_list) 142 144 self.type_select.Bind(wx.EVT_COMBOBOX, self.on_change_slicer) … … 331 333 Populate the check list from the currently plotted 2D data 332 334 """ 335 # Reinitialize loaded data list on redraw 336 self.loaded_data = [] 333 337 # Iterate over the loaded plots and find all 2D panels 334 338 for key, value in self.main_window.plot_panels.iteritems():
Note: See TracChangeset
for help on using the changeset viewer.