`summary` returns "0" exit code on invalid run
tetedange13 opened this issue · 0 comments
tetedange13 commented
Hi,
Sorry if this a duplicate, but it looks like summary
binary send 0
exit code when run is invalid
=> Exemple with "invalid_run" being a run with missing RunInfo.xml
$ InterOp-1.2.1-Linux-GNU/bin/summary invalid_run ; echo $?
# Version: v1.2.1
invalid_run
cannot open file invalid_run/RunInfo.xml
/io/src/interop/model/run/info.cpp::read_file (300)
0
Contrary to imaging_table
which correctly send non-0 exit code :
$ InterOp-1.2.1-Linux-GNU/bin/imaging_table invalid_run ; echo $?
# Version: v1.2.1
# Run Folder: invalid_run
cannot open file invalid/RunInfo.xml
/io/src/interop/model/run/info.cpp::read_file (300)
5
Hope this helps !
Kind regards,
Felix