Changeset e090ba90 in sasview for src/sas/sascalc/pr
- Timestamp:
- Oct 11, 2018 1:59:57 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1249
- Children:
- 88d2e70
- Parents:
- 67ed543
- Location:
- src/sas/sascalc/pr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/pr/distance_explorer.py
r959eb01 re090ba90 99 99 results.pos_err.append(pos_err) 100 100 results.osc.append(osc) 101 except :101 except Exception as exc: 102 102 # This inversion failed, skip this D_max value 103 103 msg = "ExploreDialog: inversion failed for " 104 msg += "D_max=%s\n %s" % (str(d), sys.exc_value)104 msg += "D_max=%s\n %s" % (str(d), exc) 105 105 results.errors.append(msg) 106 106 -
src/sas/sascalc/pr/fit/expression.py
r574adc7 re090ba90 210 210 211 211 #print("Function: "+functiondef) 212 exec functiondef in globals,locals212 exec(functiondef, globals, locals) 213 213 retfn = locals['eval_expressions'] 214 214 -
src/sas/sascalc/pr/num_term.py
r2469df7 re090ba90 182 182 data_y = np.append(data_y, test_y) 183 183 data_err = np.append(data_err, err) 184 except :185 logger.error( sys.exc_value)184 except Exception as exc: 185 logger.error(exc) 186 186 187 187 return data_x, data_y, data_err
Note: See TracChangeset
for help on using the changeset viewer.