In the changes in #1161, we added logic to abort the get_scene and get_image API calls when any individual component of the call was missing, but this logic was faulty and aborted whenever we request contents of a directory with scene number 0 since we detect 0 to be false. This PR patches that error and adds logic to abort if an invalid (negative) scene number is requested.
In the changes in #1161, we added logic to abort the
get_scene
andget_image
API calls when any individual component of the call was missing, but this logic was faulty and aborted whenever we request contents of a directory with scene number 0 since we detect 0 to befalse
. This PR patches that error and adds logic to abort if an invalid (negative) scene number is requested.