Skip to content

Fix path handling in check_jo_consistency_helpers

Spyros Argyropoulos requested to merge fixPathJOchecks into master

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


Tested on both cases (jO inside and outside the mcjoboptions directory) and it works

scripts/ /Users/sargyrop/Downloads/100xxx/100000/
python3 scripts/ 100xxx/100000/

Issues resolved

Closes #

Edited by Spyros Argyropoulos

Merge request reports