Changeset dbb3914 in sasview
- Timestamp:
- Jun 4, 2012 2:27:15 PM (13 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.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 7c720e9
- Parents:
- 0320d36
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitting.py
r940aca7 rdbb3914 627 627 if self.state_index == 0 and len(self.mypanels) <= 0 \ 628 628 and self.sfile_ext == '.svs': 629 #TODO: Why was the following line left in the code630 # if add_default_pages doesn't exist?631 try:632 self.fit_panel.add_default_pages()633 except:634 print sys.exc_value635 629 self.temp_state = [] 636 630 self.state_index = 0 … … 2018 2012 if data_copy.__class__.__name__ == "Data2D": 2019 2013 if index == None: 2020 index = numpy.ones(len(data_copy.data), ntype=bool)2014 index = numpy.ones(len(data_copy.data), dtype=bool) 2021 2015 if weight != None: 2022 2016 data_copy.err_data = weight … … 2033 2027 # 1 d theory from model_thread is only in the range of index 2034 2028 if index == None: 2035 index = numpy.ones(len(data_copy.y), ntype=bool)2029 index = numpy.ones(len(data_copy.y), dtype=bool) 2036 2030 if weight != None: 2037 2031 data_copy.dy = weight -
sansguiframe/src/sans/guiframe/data_processor.py
r3e1177d rdbb3914 766 766 grid = self.GetPage(pos) 767 767 grid.AppendCols(1, True) 768 769 def on_remove_column(self): 770 """ 771 Remove the selected column from the grid 772 """ 773 pos = self.GetSelection() 774 grid = self.GetPage(pos) 775 grid.on_remove_column(event=None) 776 768 777 769 778 class GridPanel(SPanel):
Note: See TracChangeset
for help on using the changeset viewer.