Fix path handling in check_jo_consistency_helpers
Description of bug
check_jo_consistency_helpers
run through commit_new_dsid
was assuming that paths to the jO are always relative to the scripts
directory. The commit script would crash when trying to commit jO that are outside the mcjoboptions
directory.
Changes introduced
Use relative paths
Tests
Tested on both cases (jO inside and outside the mcjoboptions
directory) and it works
scripts/check_jo_consistency_main.py /Users/sargyrop/Downloads/100xxx/100000/mc.MGPy8EG_A14N23LO_TT_mixedTB_599_111.py
python3 scripts/check_jo_consistency_main.py 100xxx/100000/mc.Sh_test.py
Issues resolved
Closes #
Edited by Spyros Argyropoulos