Ticket #2357 (closed: fixed)
Ensure run (sample log) objects are good after summing workspaces
Reported by: | Steve Williams | Owned by: | Steve Williams |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 27 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Brett Tully |
Description
This ticket's assumption: It's normally safe to sum TimeSeriesProperty data in workspaces but not normally other data. Certainly nperiods, run_start and Front_Det_Rot (which not all workspaces store).
The following script needs to print two 1's
p1 = Load('SANS2D00005547.raw', 'd').workspace() print p1.getSampleDetails().getLogData('nperiods').value p2 = Load('SANS2D00005543.raw', 'e').workspace() p3 = p1 + p2 print p3.getSampleDetails().getLogData('nperiods').value
Change History
comment:5 Changed 10 years ago by Steve Williams
- Status changed from accepted to verify
- Resolution set to fixed
Adding workspaces should work now
comment:6 Changed 10 years ago by Brett Tully
- Status changed from verify to verifying
- Tester set to Brett Tully
Note: See
TracTickets for help on using
tickets.