Ticket #3353 (closed: fixed)
MDHistoDimension: XML does not preserve units string
Reported by: | Janik Zikovsky | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Janik Zikovsky |
Description
If you create a MDHistoDimension object with the units specified and then serialize them to XML, and read them back using the IMDDimensionFactory, the units are not being read back.
Change History
comment:2 Changed 9 years ago by Janik Zikovsky
Right now the MDHistoDimension object only has units as a simple string, so serializing it as a string would be totally fine.
comment:6 Changed 9 years ago by Owen Arnold
- Status changed from accepted to verify
- Resolution set to fixed
comment:7 Changed 9 years ago by Janik Zikovsky
- Status changed from verify to verifying
- Tester set to Janik Zikovsky
Note: See
TracTickets for help on using
tickets.
Agree. This is an issue. As a description of units can actually be quite complicated (many fields) they were originally left out of the xml schema. If a simple string field will suffice, this can easily be fixed.