adapted pyslk to slk_helpers 1.9.6
slk_helpers v1.9.6 has a new parameter --print-resource-id
which will cause gfbt
/ group_files_by_tape
to print resource IDs instead of file paths. This parameter is needed for DKRZ-internal usage of slk_helpers. The function core.group_files_by_tape
will work without any changes because it parses the JSON output of gfbt
(which contains the resource IDs by default since this slk_helpers release).