alpenhorn manages files produced by the acquisition system. This alpenhorn is mostly legacy these days. Most alpenhorn development is going on in alpenhorn2: https://github.com/radiocosmology/alpenhorn/
0
stars
0
forks
source link
fix(update): correct escape character in squeue command #27
I think the additional % character in run_command(["squeue", "-o", "%%all", "-u", user]) was causing the problems described in #26. Presumably this escape sequence was needed in the old environment (maybe Python 2 or an old version of subprocess?), but should now be avoided.
With the double % character, the output (when there is a single job in the queue) is problematic:
ACCOUNTll
rpp-chimell
With a single % character, the output is as expected:
I think the additional
%
character inrun_command(["squeue", "-o", "%%all", "-u", user])
was causing the problems described in #26. Presumably this escape sequence was needed in the old environment (maybe Python 2 or an old version of subprocess?), but should now be avoided.With the double
%
character, the output (when there is a single job in the queue) is problematic:With a single
%
character, the output is as expected: