since the pipeline attempts to run file on an empty set of files and consequently builds an invalid Unix command in trying to do so. This PR will first check if the list of files on which file should be run is empty before attempting to run the command, thereby getting rid of the error message.
When trying to run the MRI pipeline on an empty archive, I got this error message:
since the pipeline attempts to run
file
on an empty set of files and consequently builds an invalid Unix command in trying to do so. This PR will first check if the list of files on whichfile
should be run is empty before attempting to run the command, thereby getting rid of the error message.Fixes #1012