Changeset a5e749f in sasview
- Timestamp:
- Apr 13, 2012 11:57:04 AM (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:
- 1e62361
- Parents:
- bf7ad65
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_processor.py
r23155ba ra5e749f 836 836 return axis 837 837 838 def on_save_column(self, parent):839 """840 """841 pos = self.notebook.GetSelection()842 grid = self.notebook.GetPage(pos)843 if parent is not None and self.data is not None:844 parent.write_batch_tofile(data=grid.data,845 file_name=path,846 details=self.details)847 848 838 def on_view(self, event): 849 839 """ … … 1210 1200 else: 1211 1201 self.remove_menu.Enable(False) 1212 if len(col_list) == 0 or len(col_list) > 1:1202 if len(col_list) == 0 or len(col_list) > 1: 1213 1203 self.insert_sub_menu.Enable(False) 1214 1204 … … 1286 1276 return 1287 1277 self.parent.open_with_externalapp(data=data, 1288 1289 1278 file_name=grid.file_name, 1279 details=grid.details) 1290 1280 1291 1281 def on_close(self, event): … … 1393 1383 button_sizer.Add(button_apply, 0, 1394 1384 wx.LEFT|wx.RIGHT|wx.ADJUST_MINSIZE, 10) 1395 vbox.Add(hint_sizer, 1385 vbox.Add(hint_sizer, 0, wx.EXPAND|wx.ALL, 10) 1396 1386 vbox.Add(wx.StaticLine(self.panel, -1), 0, wx.EXPAND, 0) 1397 vbox.Add(button_sizer, 0 1387 vbox.Add(button_sizer, 0, wx.TOP|wx.BOTTOM, 10) 1398 1388 self.SetSizer(vbox) 1399 1389 … … 1404 1394 if self.flag == 1: 1405 1395 self.parent.open_with_localapp(data_inputs=self.data_inputs, 1406 1396 data_outputs=self.data_outputs) 1407 1397 elif self.flag == 2: 1408 1398 self.parent.open_with_externalapp(data=self.data, 1409 file_name=self.file_name,1410 details=self.details)1399 file_name=self.file_name, 1400 details=self.details) 1411 1401 def on_close(self, event): 1412 1402 """ … … 1436 1426 if self.parent is not None and self.data is not None: 1437 1427 self.parent.write_batch_tofile(data=self.data, 1438 file_name=path,1439 details=self.details)1428 file_name=path, 1429 details=self.details) 1440 1430 if self.local_app_selected.GetValue(): 1441 1431 self.flag = 1 … … 1457 1447 1458 1448 data_input = copy.deepcopy(data) 1459 data_input["index5"] = [10, 20,40, 50]1449 data_input["index5"] = [10, 20, 40, 50] 1460 1450 frame = GridFrame(data_outputs=data, data_inputs=data_input) 1461 1451 frame.Show(True)
Note: See TracChangeset
for help on using the changeset viewer.