Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash - Fitting data in plot with layers #8748

Closed
Anders-Markvardsen opened this issue Sep 10, 2013 · 6 comments
Closed

Crash - Fitting data in plot with layers #8748

Anders-Markvardsen opened this issue Sep 10, 2013 · 6 comments
Labels
Stale This label is automatically applied to issues that are automatically closed by the stale bot

Comments

@Anders-Markvardsen
Copy link
Member

This issue was originally TRAC 7903

In addition to crash also when multilayers regardless of what is plotted and what layers is highlighted the spectrum which is selected by the Fit Function tools is always the first spectrum in the first layers.

Example demonstrating that first spectrum in layer one always plotted:

  1. Load e.g. ARGUS0031800 from AutoTestData
  2. Plot e.g. spectrum 1-3 of workspace ARGUS0031800_1
  3. Add a new layer Graph->'Add layer'
  4. Plot spectrum 1 in layer 2 and spectrum 2-3 in layer 1
  5. Have layer 2 highlighted
  6. Click on the Fit Function toolbox button. This:

a) specifies a fitting range in both layers, not only the layer which is highlighted

b) In Fit Function properties settings it set the workspace index to fit to be 1, which is spectrum 2, i.e. not the spectrum plotted in layer 2

  1. Highlight layer 1.
  2. click on the Fit Function toolbox button. This has no effect on the workspace index that is selected in the Fit Function properties settings

Example demonstrating crash:

  1. Load e.g. ARGUS0031800 from AutoTestData
  2. Plot e.g. spectrum 1-3 of workspace ARGUS0031800_1
  3. Add two new layers
  4. In layer 2 plot spectrum 2-3
  5. click on the Fit Function toolbox button
  6. click on the Selection tools button (6 buttons to the left of the Fit Function toolbox button)
  7. Plot spectrum 3 in layer 3
  8. click on the Fit Function toolbox button

and MantidPlot crashed

The work in this ticket may be split up into a number of tickets, i.e. a ticket dealing with the crash and a ticket to make the Fit Function toolbox button more sensitive to which layer is highlighted in a multilayer plot

@Anders-Markvardsen
Copy link
Member Author

@NickDraper (2014-02-14T11:05:00):
Bulk move to assigned at the introduction of the triage step

@NickDraper
Copy link
Contributor

Disable fitting on multi later plots?

@mantid-roman
Copy link
Contributor

That would be my preference.

@Anders-Markvardsen
Copy link
Member Author

OK with me also to disable. I am not aware of a user have reported a problem with this since this happens, if I remember correctly, during a Mantid tutorial in 2013.

@stale
Copy link

stale bot commented Feb 23, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you feel this is incorrect please comment to keep it alive, with a reason why.

To prevent closure, e.g. for long-term planning issues, add the "Never Stale" label.

@stale stale bot added the Stale This label is automatically applied to issues that are automatically closed by the stale bot label Feb 23, 2021
@stale
Copy link

stale bot commented Mar 2, 2021

This issue has been closed automatically. If this still affects you please re-open this issue with a comment so we can look into resolving it.

@stale stale bot closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale This label is automatically applied to issues that are automatically closed by the stale bot
Projects
None yet
Development

No branches or pull requests

3 participants