Ticket #3769 (closed: fixed)
WorkspaceFactoryImpl::initializeFromParent replaces a RefAxis with a NumericAxis
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | alex.buts@… | Blocked By: | #3777 |
Blocking: | Tester: | Martyn Gigg |
Description
....when it shouldn't.
Change History
comment:1 Changed 9 years ago by Russell Taylor
- Cc alex.buts@… added
- Status changed from new to accepted
comment:2 Changed 9 years ago by Russell Taylor
- Status changed from accepted to verify
- Resolution set to fixed
In [14804]:
comment:3 Changed 9 years ago by Russell Taylor
Ticket #3775 has been created to review our use of the Axis classes in a future iteration.
comment:6 Changed 9 years ago by Martyn Gigg
- Status changed from verifying to closed
Tested in two ways:
Loaded a file and used CropWorkspace to shrink the size in both directions and also used CloneWorkspace to keep the size the same to check both routes through the code.
In [14803]: CropWorkspace causes a change from RefAxis -> NumericAxis and the values are also incorrect, CloneWorkspace leaves it alone. In [14805](Todays test vesion): The output from both CropWorkspace and CloneWorkspace now have a RefAxis on axis 0 and the values from the CropWorkspace version now match the X values in the workspace correctly.
Also tested that the other workspace meta information has not been affected.