Ticket #5488 (closed: fixed)
TimeSeriesProperty is only exposed for double/bool in Python
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 2.2 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Owen Arnold |
Description
Some logs are TimeSeriesProperty<int> so Python cannot access these at the moment.
Tester: The LET00006278.nxs file in the system test Data directory contains a 'good_frames' log, which is a TimeSeriesProperty<int> type. The following should work after this ticket is fixed:
ws = Load('LET00006278.nxs') run = ws.getRun() good_frames_log = run['good_frames'] print good_frames_log.value
It currently raises an exception
AttributeError: 'Property' object has no attribute 'value' at line 4 in ''
Change History
comment:2 Changed 8 years ago by Martyn Gigg
Add python type for TimeSeriesProperty<int>. Refs #5488
Changeset: 21d133fdeadd3717525344b5fd0a609a8c1ed1d2
comment:3 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 8 years ago by Martyn Gigg
Add python type for TimeSeriesProperty<int>. Refs #5488
Changeset: 21d133fdeadd3717525344b5fd0a609a8c1ed1d2
Note: See
TracTickets for help on using
tickets.