The image Viewer widget does not remember the selection.
It also fails when images are selected, and a smaller set of images is on the input so that the selection index is greater than the length of a new dataset.
Description of changes
Implement selection as the schema-only ContextSetting, which stores image names.
This PR also:
changes that attributes are saved as Variables in ContextSettings (before indexes were saved - which doesn't make sense in combination with ContextSettings)
removes the _noteCompleted method, which seems not to be used
refactor the error to use the Error class instead of the error attribute.
Issue
The image Viewer widget does not remember the selection. It also fails when images are selected, and a smaller set of images is on the input so that the selection index is greater than the length of a new dataset.
Description of changes
Implement selection as the schema-only ContextSetting, which stores image names.
This PR also:
_noteCompleted
method, which seems not to be usedError
class instead of theerror
attribute.Includes