Closed butlerpd closed 1 month ago
I just tested this on v5.0.6 and am seeing the same error. This seems to be an issue with the data objects being produced by the generic scattering calculator. The exact issue isn't clear to me yet, but I will continue to look into this. Because this is not a new issue to v6.0.0, I don't know if we want to fix this for the final release.
Note - Going back to v5.0.6, the GSC in v6.0.0 is now obviously much faster for both data loading and calculations.
The Data
object needs the .id
field to be serializable. Added this to GSC generated data.
Also, improved our json serialized to handle DataRole
enums as it was not saving these for the GSC data.
Describe the bug Reported by user Sabol-Pulling.
To Reproduce I reproduced the error using 6.0.0 alpha1 as follows:
Expected behavior The general scattering calculator is a tool and therefore does not have a "save state." However SasView should save the sate of all open perspectives, or if none, state there are none to save, but should not throw a traceback error
SasView version (please complete the following information):
Operating system (please complete the following information):