OpenCue
OpenCue copied to clipboard
pycue: Raise error if searching with incorrect parameter
Link the Issue(s) this Pull Request is related to. When using methods like opecue.api.getJobs and supplying wrong parameters such as ids instead of id, method returns all jobs on the farm. Instead, exception should be thrown in search.py::_setOptions to clearly state that the parameter supplied was wrong.
Summarize your change. Raises error on pycue side (in search.py) when the parameter given is incorrect, i.e. ids instead of id. In case of empty criteria, use empty criteria. So in the case of searching for jobs with empty criteria, all jobs will be returned.
The logs for this PR expired. I can't find a way to re-execute the pipeline