Skip to content

Commit a987316

Browse files
committed
Fix additional error return
RE mantidproject#38523
1 parent 142cd1d commit a987316

File tree

1 file changed

+1
-1
lines changed
  • Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS

1 file changed

+1
-1
lines changed

Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANS/SANSSave.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def _validate_pol_props(self, errors):
313313
polarization_props = self.getProperty("PolarizationProps").value
314314
if not polarization_props:
315315
errors.update({"PolarizationProps": "PolarizationProps must be set to use SavePolarizedNXCanSAS."})
316-
return errors
316+
return
317317
mandatory_props = [
318318
"InputSpinStates",
319319
"PolarizerComponentName",

0 commit comments

Comments
 (0)