Open gilmorera opened 8 months ago
Here's the solution I've put in my local (https://github.com/bioidiap/gridtk/blob/82d328d5f9de18ac569a6856175ed071d20ba998/src/gridtk/tools.py#L258C12-L258C55)
#def qsub(......
#....
if '-sync' in scmd:
return int(jobid.split("\n")[-2].split(".", 1)[0])
else:
return int(jobid.split("\n")[-1].split(".", 1)[0])
Hi @anjos et. al,
I'm using gridtk with UGE and it seems to work. The only problem I've had is when using
qsub -sync
it circumvents the-terse
functionality (see below). I was also unable to make any comments or issues in the GitLab instance where this repo is mirrored, so sorry if I missed something (?).The following has output like this:
I tested the output in my python console with the code from the original traceback which pointed me here: https://github.com/bioidiap/gridtk/blob/82d328d5f9de18ac569a6856175ed071d20ba998/src/gridtk/tools.py#L258C12-L258C55