Commit cbeeedcb authored by Stephen's avatar Stephen
Browse files

Throw exception in multi-period check.

parent 463f1f73
......@@ -139,7 +139,8 @@ void LoadMuonNexusV2::execLoader() {
// strategy
if (m_multiPeriodsLoaded) {
// Currently not implemented
return;
throw std::invalid_argument(
"Multiperiod nexus files not yet supported by LoadMuonNexusV2");
} else {
// we just have a single workspace
Workspace2D_sptr workspace2D =
......
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