Skip to content

Commit

Permalink
Refs #10570 Sum range of point detectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Jeffery committed Nov 18, 2014
1 parent 7dfef06 commit ad9f36d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -138,7 +138,7 @@ namespace Mantid
else
{
//Otherwise, we create a range.
processing_commands = boost::lexical_cast<std::string>(detStart) + ":" + boost::lexical_cast<std::string>(detStop);
processing_commands = boost::lexical_cast<std::string>(detStart) + "-" + boost::lexical_cast<std::string>(detStop);
}
}
else
Expand Down
Expand Up @@ -349,7 +349,7 @@ class ReflectometryReductionOneAutoTest: public CxxTest::TestSuite
std::string processingInstructions = findPropertyValue<std::string>(vecPropertyHistories,
"ProcessingInstructions");
std::vector<std::string> pointDetectorStartStop;
boost::split(pointDetectorStartStop, processingInstructions, boost::is_any_of(":"));
boost::split(pointDetectorStartStop, processingInstructions, boost::is_any_of("-"));

TS_ASSERT_EQUALS(inst->getNumberParameter("LambdaMin")[0], wavelengthMin);
TS_ASSERT_EQUALS(inst->getNumberParameter("LambdaMax")[0], wavelengthMax);
Expand Down

0 comments on commit ad9f36d

Please sign in to comment.