Ticket #2106 (closed: worksforme)

Opened 10 years ago

Last modified 5 years ago

getDataStatistics in TimeSeriesProperty.h

Reported by: Peter Peterson Owned by: Janik Zikovsky
Priority: major Milestone: Iteration 27
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

Currently the default implementation throws a NotImplementedError. The current implementation for TYPE=double should be the default for all types. There should be a specialization for TYPE=string that sets all of the values to NAN and the duration being the correct number.

Change History

comment:1 Changed 10 years ago by Nick Draper

  • Owner set to Janik Zikovsky
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Janik Zikovsky

  • Status changed from assigned to accepted

comment:3 Changed 10 years ago by Janik Zikovsky

  • Status changed from accepted to verify
  • Resolution set to worksforme

Looks like Peter already did this.

comment:4 Changed 10 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:5 Changed 10 years ago by Owen Arnold

  • Status changed from verifying to closed

Templated type argument for TimeSeriesProperty present. Reflection or partial specialization not used to determine what duration should be (as suggested) this is used instead: if (this->size() > 0)

Verified unit tests passed.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2953

Note: See TracTickets for help on using tickets.