Handling empty values in input JSON
marshallmcdonnell opened this issue · comments
Marshall McDonnell commented
Currently, if the input JSON input has a key but the value is empty, non-graceful errors occur.
Example from ADDIE:
Having the entry
"Merging": {"Characterizations": ""}
raises the exception
ValueError on line 1047 of '/path/to/mantid/Framework/PythonInterface/mantid/simpleapi.py': Invalid value for property Characterizations (TableWorkspace) from string "characterizations": Workspace "characterizations" was not found in the Analysis Data Service
TDD should help with finding empty inputs that raise exceptions