From 649d9d487019f20ea1662b7e8b8fef00169bd7eb Mon Sep 17 00:00:00 2001 From: Pete Peterson <petersonpf@ornl.gov> Date: Tue, 15 Nov 2016 11:02:07 -0500 Subject: [PATCH] Add property for empty sample environment --- Framework/Algorithms/src/PDDetermineCharacterizations.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Framework/Algorithms/src/PDDetermineCharacterizations.cpp b/Framework/Algorithms/src/PDDetermineCharacterizations.cpp index 1f775bbcc5d..5a57ce4c28d 100644 --- a/Framework/Algorithms/src/PDDetermineCharacterizations.cpp +++ b/Framework/Algorithms/src/PDDetermineCharacterizations.cpp @@ -126,6 +126,9 @@ void PDDetermineCharacterizations::init() { declareProperty( Kernel::make_unique<Kernel::ArrayProperty<int32_t>>("NormBackRun", "0"), "Normalization background" + defaultMsg); + declareProperty( + Kernel::make_unique<Kernel::ArrayProperty<int32_t>>("EmptyEnv", "0"), + "Empty sample environment" + defaultMsg); declareProperty( Kernel::make_unique<Kernel::ArrayProperty<int32_t>>("EmptyInstr", "0"), "Empty instrument" + defaultMsg); @@ -425,6 +428,7 @@ void PDDetermineCharacterizations::exec() { overrideRunNumProperty("BackRun", "container"); overrideRunNumProperty("NormRun", "vanadium"); overrideRunNumProperty("NormBackRun", "vanadium_background"); + overrideRunNumProperty("EmptyEnv", "empty_environment"); overrideRunNumProperty("EmptyInstr", "empty_instrument"); std::vector<std::string> expectedNames = getColumnNames(); -- GitLab