Commit 8c180d3b authored by Srikanth Ravipati's avatar Srikanth Ravipati Committed by Peterson, Peter
Browse files

Fixed as per clang-format

parent 422cb749
......@@ -154,13 +154,15 @@ private:
// return a MatrixWorkspace with detectors allowing computations of Q values
Mantid::API::MatrixWorkspace_sptr withDetectors() {
Mantid::DataHandling::LoadNexus loader;
Mantid::Kernel::ConfigService::Instance().setString("default.facility", "ISIS");
Mantid::Kernel::ConfigService::Instance().setString("default.facility",
"ISIS");
loader.initialize();
loader.setPropertyValue("Filename", "irs26173_graphite002_red");
loader.setPropertyValue("OutputWorkspace", "irs26173");
TS_ASSERT_THROWS_NOTHING(loader.execute());
TS_ASSERT(loader.isExecuted());
Mantid::Kernel::ConfigService::Instance().setString("default.facility", "NONE");
Mantid::Kernel::ConfigService::Instance().setString("default.facility",
"NONE");
return Mantid::API::AnalysisDataService::Instance()
.retrieveWS<Mantid::API::MatrixWorkspace>("irs26173");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment