diff --git a/Code/Mantid/Framework/Algorithms/src/ReflectometryReductionOneAuto.cpp b/Code/Mantid/Framework/Algorithms/src/ReflectometryReductionOneAuto.cpp index 560f9ac6a5b1..abfd829d2cd3 100644 --- a/Code/Mantid/Framework/Algorithms/src/ReflectometryReductionOneAuto.cpp +++ b/Code/Mantid/Framework/Algorithms/src/ReflectometryReductionOneAuto.cpp @@ -138,7 +138,7 @@ namespace Mantid else { //Otherwise, we create a range. - processing_commands = boost::lexical_cast(detStart) + ":" + boost::lexical_cast(detStop); + processing_commands = boost::lexical_cast(detStart) + "-" + boost::lexical_cast(detStop); } } else diff --git a/Code/Mantid/Framework/Algorithms/test/ReflectometryReductionOneAutoTest.h b/Code/Mantid/Framework/Algorithms/test/ReflectometryReductionOneAutoTest.h index bcbef47502ae..fd16133be9c5 100644 --- a/Code/Mantid/Framework/Algorithms/test/ReflectometryReductionOneAutoTest.h +++ b/Code/Mantid/Framework/Algorithms/test/ReflectometryReductionOneAutoTest.h @@ -349,7 +349,7 @@ class ReflectometryReductionOneAutoTest: public CxxTest::TestSuite std::string processingInstructions = findPropertyValue(vecPropertyHistories, "ProcessingInstructions"); std::vector 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);