From 3a57ce4659f96760e8cc8e5902576d1696e4c745 Mon Sep 17 00:00:00 2001 From: Dimitar Tasev <dimtasev@gmail.com> Date: Thu, 17 Jan 2019 13:13:08 +0000 Subject: [PATCH] Reverted returning None for spec num on a single spec ws, re #24427 --- Framework/PythonInterface/mantid/plots/helperfunctions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Framework/PythonInterface/mantid/plots/helperfunctions.py b/Framework/PythonInterface/mantid/plots/helperfunctions.py index f44958ccb47..d16a9c0d269 100644 --- a/Framework/PythonInterface/mantid/plots/helperfunctions.py +++ b/Framework/PythonInterface/mantid/plots/helperfunctions.py @@ -136,7 +136,6 @@ def _get_wksp_index_and_spec_num(workspace, axis, **kwargs): if workspace.getNumberHistograms() == 1: spectrum_number = None workspace_index = 0 - return workspace_index, spectrum_number, kwargs # error check input parameters if (spectrum_number is not None) and (workspace_index is not None): -- GitLab