Closed dawson6 closed 1 year ago
Very confused, my checkout of this shows '0' but the MR 'diffs' shows False still.
hang on, may not have pushed <doh!>
ok, fixed, I thought I had pushed my update, but it was uncommitted. So committed, rebased, and pushed again,
Alternate suggestion:
ATSManager.main()
could continue to return True on success and False on failure
then change:
https://github.com/LLNL/ATS/blob/main/ats/__main__.py to return 0 on manager.main() success and 1 otherwise
This would allow downstream users who wrap ATSManager
to check for success based on the boolean but the ultimate command line return code would follow standards.
I glanced over all the scripts in ats/tools
and because they are all calling into the ats
script then it would also cover those cases as well.
redoing merge request with changes