Changeset b4d05bd in sasview for src/sas/qtgui/MainWindow
- Timestamp:
- Aug 13, 2018 9:48:38 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- e752ab8
- Parents:
- 6b3a231
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
r3ae9179 rb4d05bd 37 37 # The controller which is responsible for managing signal slots connections 38 38 # for the gui and providing an interface to the data model. 39 40 # This matches the ID of a plot created using FittingLogic._create1DPlot, e.g. 41 # "5 [P(Q)] modelname" 42 # or 43 # "4 modelname". 44 # Useful for determining whether the plot in question is for an intermediate result, such as P(Q) or S(Q) in the 45 # case of a product model; the identifier for this is held in square brackets, as in the example above. 39 46 theory_plot_ID_pattern = re.compile(r"^([0-9]+)\s+(\[(.*)\]\s+)?(.*)$") 40 47 … … 506 513 self.active_plots[plot_id].replacePlot(plot_id, plot) 507 514 else: 508 # Don't plot intermediate datae.g. P(Q), S(Q)515 # Don't plot intermediate results, e.g. P(Q), S(Q) 509 516 match = self.theory_plot_ID_pattern.match(plot_id) 517 # 2nd match group contains the identifier for the intermediate result, if present (e.g. "[P(Q)]") 510 518 if match and match.groups()[1] != None: 511 519 continue
Note: See TracChangeset
for help on using the changeset viewer.