Closed butlerpd closed 1 month ago
np.min(a)
for empty a
will throw this error. This happens when evaluating the default X range for plotting and got introduced in https://github.com/SasView/sasview/pull/2967 merged 3 weeks ago.
Since this affects only plotting, adding a simple conditional for empty x
will solve the issue.
Describe the bug Sometime recently -- guessing during the hackathon or just before, a new bug seems to have been introduced. Not sure if it is already being addressed but documenting here before I forget just in case.
Sending data to a fitpage then manually changing values and plotting throws the following error but not 100% of the time. It does not seem to throw any errors if doing the same thing without data (i.e. a theory curve). Moreover it seems to still perform the calculation correctly.
To Reproduce Steps to reproduce the behavior:
Compute/Plot
sld_core
to 6.4 (essentially a hollow sphere with D20 in the middle)sld_solvent
to 6.4 (D20 solvent)scale
to 0.001 (0.1% vol fraction)scale
to 0.00001 (0.001%)Expected behavior no error thrown.
SasView version (please complete the following information):
Operating system (please complete the following information):