the reduce.py script calls reduce but doesn't pass it's return value, see
https://github.com/rlabduke/reduce/blob/master/command_line/reduce.py#L20
So reduce has sometimes return status 1, but phenix.reduce always returns 0.
This change would be trivial to change, like this:
return subprocess.call(cmd + args)
...
sys.exit(run(sys.argv[1:]))
unless ignoring the status code is actually intentional - I can't be sure about it.
the reduce.py script calls
reducebut doesn't pass it's return value, seehttps://github.com/rlabduke/reduce/blob/master/command_line/reduce.py#L20
So
reducehas sometimes return status 1, butphenix.reducealways returns 0.This change would be trivial to change, like this:
unless ignoring the status code is actually intentional - I can't be sure about it.