Ticket #2357 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

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:1 Changed 10 years ago by Steve Williams

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Steve Williams

(In [9461]) When adding two workspaces together only a selection of the Run object (log file) entries are summed re #2357

comment:3 Changed 10 years ago by Steve Williams

(In [9470]) Add another two Run object (log file) entries to sum re #2357

comment:4 Changed 10 years ago by Steve Williams

(In [9473]) Fix DOxyGen errors re #2357

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

comment:7 Changed 10 years ago by Brett Tully

  • Status changed from verifying to closed

Script runs as expected on 1.1.9494.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3204

Note: See TracTickets for help on using tickets.