scripts/commit_new_dsid.sh crashes when reading directories
./scripts/commit_new_dsid.sh Var3c/* -m="Message" --dry-run
It fails when it tries to convert JOs directories inside Var3c directory with the message:
Traceback (most recent call last):
File "scripts/jo_utils.py", line 87, in <module>
_parse(args.DSIDs)
File "scripts/jo_utils.py", line 10, in _parse
dsids = [ int(d) for d in dsids ] # turn strings to integers
File "scripts/jo_utils.py", line 10, in <listcomp>
dsids = [ int(d) for d in dsids ] # turn strings to integers
ValueError: invalid literal for int() with base 10: 'Var3c/py8_yprod_var3cDown'
This issue was introduced in this commit: 2546cd60
It is still possible to run the script when directories are renamed into dummy dsid numbers
./scripts/commit_new_dsid.sh -d=100000,100001 -m="Adding ttgamma MG+Py8 Var3c variation samples" --dry-run
I attached a tar file with Var3c directory. Var3c.tar.gz
Edited by Petr Jacka