24 "Workspace to have logs merged");
33 std::string origlogname = this->
getProperty(
"OriginalLogName");
34 std::string newlogname = this->
getProperty(
"NewLogName");
42 throw std::runtime_error(
"Not a TimeSeriesProperty!");
46 matrixWS->mutableRun().removeLogData(origlogname);
49 timeprop->setName(newlogname);
53 matrixWS->mutableRun().addProperty(timeprop);
#define DECLARE_ALGORITHM(classname)
TypedValue getProperty(const std::string &name) const override
Get the value of a property.
A property class for workspaces.
RenameLog : TODO: DESCRIPTION.
API::MatrixWorkspace_sptr matrixWS
void exec() override
Virtual method - must be overridden by concrete algorithm.
Validator to check that a property is not left empty.
Base class for properties.
A specialised Property class for holding a series of time-value pairs.
@ InOut
Both an input & output workspace.