diff --git a/mantidimaging/gui/windows/spectrum_viewer/model.py b/mantidimaging/gui/windows/spectrum_viewer/model.py index 7bc5d65778d..72233dab21b 100644 --- a/mantidimaging/gui/windows/spectrum_viewer/model.py +++ b/mantidimaging/gui/windows/spectrum_viewer/model.py @@ -357,7 +357,9 @@ def save_csv(self, path: Path, normalise: bool, normalise_with_shuttercount: boo if self._normalise_stack is None: raise RuntimeError("No normalisation stack selected") csv_output.add_column(roi_name + "_open", self.get_spectrum(roi_name, SpecType.OPEN), "Counts") - csv_output.add_column(roi_name + "_norm", self.get_spectrum(roi_name, SpecType.SAMPLE_NORMED), "Counts") + csv_output.add_column(roi_name + "_norm", + self.get_spectrum(roi_name, SpecType.SAMPLE_NORMED, normalise_with_shuttercount), + "Counts") with path.open("w") as outfile: csv_output.write(outfile)