Provide better error message when CanSAS file has invalid units (Trac #276) #423
Labels
Enhancement
Feature requests and/or general improvements
Major
Big change in the code or important change in behaviour
Milestone
Currently, if a CanSAS file with unsupported units is loaded into
SasView - for example, where "count" is not defined
in the standard - the following error message is returned when one
attempts to plot/fit the data:
'Plotting Error: Plottable.View: Given y and x are not of the same
length'
This is confusing (as it insinuates either Q or I data is missing)
but also draws attention away from the underlying problem.
Some form of syntactic checking is required and failure should respond
with a sensible error message.
Migrated from http://trac.sasview.org/ticket/276
The text was updated successfully, but these errors were encountered: