Changeset 7f41584 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Nov 21, 2018 5:21:11 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- ba400d1
- Parents:
- c30822c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rc4c4957 r7f41584 3083 3083 # cell 3: min value 3084 3084 item3 = QtGui.QStandardItem() 3085 # set the cell to be non-editable 3086 item3.setFlags(item3.flags() ^ QtCore.Qt.ItemIsEditable) 3085 3087 3086 3088 # cell 4: max value 3087 3089 item4 = QtGui.QStandardItem() 3090 # set the cell to be non-editable 3091 item4.setFlags(item4.flags() ^ QtCore.Qt.ItemIsEditable) 3088 3092 3089 3093 # cell 4: SLD button … … 3125 3129 # no info about limits 3126 3130 pass 3131 except OverflowError: 3132 # Try to limit shell_par, if possible 3133 if float(shell_par.limits[1])==np.inf: 3134 shell_max = 9 3135 logging.warning("Limiting shell count to 9.") 3127 3136 except Exception as ex: 3128 3137 logging.error("Badly defined multiplicity: "+ str(ex))
Note: See TracChangeset
for help on using the changeset viewer.