Changeset f0bb711 in sasview for src/sas/qtgui/Utilities/GuiUtils.py
- Timestamp:
- Oct 19, 2017 8:25:24 AM (7 years ago)
- Branches:
- 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
- Children:
- 0c468bf
- Parents:
- d5c5d3d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/GuiUtils.py
rd5c5d3d rf0bb711 144 144 # custom open_path 145 145 open_folder = custom_config.DEFAULT_OPEN_FOLDER 146 if open_folder !=None and os.path.isdir(open_folder):146 if open_folder is not None and os.path.isdir(open_folder): 147 147 DEFAULT_OPEN_FOLDER = os.path.abspath(open_folder) 148 148 else: … … 231 231 232 232 # Send data to Data Operation Utility panel 233 sendDataToPanel = QtCore.pyqtSignal(dict)233 sendDataToPanelSignal = QtCore.pyqtSignal(dict) 234 234 235 235 # Send result of Data Operation Utility panel to Data Explorer … … 528 528 has_errors = False 529 529 if has_errors: 530 if data.dx !=None and data.dx != []:530 if data.dx is not None and data.dx != []: 531 531 out.write("<X> <Y> <dY> <dX>\n") 532 532 else: … … 537 537 for i in range(len(data.x)): 538 538 if has_errors: 539 if data.dx !=None and data.dx != []:539 if data.dx is not None and data.dx != []: 540 540 if data.dx[i] != None: 541 541 out.write("%g %g %g %g\n" % (data.x[i],
Note: See TracChangeset
for help on using the changeset viewer.