Upload of data fails if not in verbose mode
I just tried to upload data to CoScInE using the API in the non-verbose mode and encountered a
NameError: free variable 'bar' referenced before assignment in enclosing scope
the variable bar
is only populated in the verbose mode, however, used in all cases in the lambda
function causing the error:
https://git.rwth-aachen.de/coscine/docs/public/coscine-python-client/-/blob/master/src/coscine/coscine.py#L588-592
For now, I just use client.verbose= True; client.upload... ; client.verbose=False
as a workaround.