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

quick plots no longer possible after fitting a restricted Q range #3056

Open
butlerpd opened this issue Aug 17, 2024 · 1 comment
Open

quick plots no longer possible after fitting a restricted Q range #3056

butlerpd opened this issue Aug 17, 2024 · 1 comment
Labels
Major Big change in the code or important change in behaviour SasView 6.0.1

Comments

@butlerpd
Copy link
Member

Describe the bug
This is apparently not easily reproducible. However given a traceback error was captured, I am reporting it as an issue. This error seems to occur much more frequently on Macs, but has occasionally been reported by Windows users as well.

This error is reported to happen after restricting the Q range of a fit (in the FitPage Options tab) from the full range available in the data file. Plotting (quick plot, or send to plot) or saving the structure factors no longer work. The log explorer window gives the following error:

11:21:14 - ERROR: Traceback (most recent call last): File "sas\qtgui\MainWindow\DataExplorer.py", line 1678, in quickDataPlot
File "sas\qtgui\Plotting\Plotter.py", line 131, in plot 
File "sas\qtgui\Utilities\GuiUtils.py", line 864, in xyTransform
File "sas\qtgui\Plotting\Plottables.py", line 577, in transformView
File "sas\qtgui\Plotting\Plottables.py", line 693, in transform ValueError: Plottable.View: Given y and x are not of the same length

SasView version (please complete the following information):

  • Version: 6.0.0b2 and 5.0.6 and possibly before

Operating system (please complete the following information):

  • OS: Mac mostly but also seen on Windows

Additional context
Identified during the NIST CNR summer school. However, given it is hard to reproduce and that it is reported to have happened in previous version and that it does not cause incorrect results to be published I am not going to label it with the 6.0.0 release label.

@butlerpd butlerpd added Major Big change in the code or important change in behaviour SasView 6.0.0 Required for 6.0.0 release labels Aug 17, 2024
@krzywon krzywon added SasView 6.0.1 and removed SasView 6.0.0 Required for 6.0.0 release labels Aug 20, 2024
@krzywon
Copy link
Contributor

krzywon commented Aug 20, 2024

This has been around for a while and should not be included in release 6 unless it needs to be fixed to fix another 6.0 specific issue. I'm removing it from the hackathon project list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Major Big change in the code or important change in behaviour SasView 6.0.1
Projects
None yet
Development

No branches or pull requests

2 participants