Ticket #11882 (verify: fixed)
WorkspaceFactory outputs invalid workspaces when child contains more spectra than parent
Reported by: | Dan Nixon | Owned by: | Dan Nixon |
---|---|---|---|
Priority: | major | Milestone: | Backlog |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
When creating a child workspace using the WorkspaceFactory where the child will have more spectra than the parent, no modification is done to the vertical axis, hence it ends up being too short for the child workspace which leads to issues if you try and do anything in Mantid the reads the axis.
When this happens the WorkspaceFactory should extend the axis and fill it with either zeros or empty strings to at least make it usable.
Change History
comment:2 Changed 5 years ago by Dan Nixon
- Status changed from assigned to inprogress
Write a test indicating issue Refs #11882
Changeset: 7ba6e4b57c0d730970596a082abf774ba1127903
comment:3 Changed 5 years ago by Dan Nixon
Fix the issue Refs #11882
This only seems to have been an issue with non spectra axis
Changeset: 74052cbdfd09dc6ba397851c53fd991a3692378d
comment:4 Changed 5 years ago by Dan Nixon
- Status changed from inprogress to verify
- Resolution set to fixed
This is being verified as pull request #834.
comment:5 Changed 5 years ago by Dan Nixon
Correct previous fix Refs #11882
Changeset: 717d2abf4d6b3889cb88f4f0ce3c98ec62365eda