Open PauTorru opened 4 days ago
I have seen it and did notice that the json was empty but thought that it was transient as it happens once in a while.
I don't know why this would be necessary now but specifying the "user-agent" shouldn't hurt - for example, we do this to check for broken extremal links when building the hyperspy documentation to publisher and setting the user-agent
helps to get some of them to work.
Do you want to make a pull request? The relevant code should be https://github.com/hyperspy/exspy/blob/e63bd212491494f4a1ee6659772295bc09fa7ac1/exspy/misc/eels/eelsdb.py#L251-L255
@llajaunie, any idea why it would be necessary now?
I just made the pull request.
The following code:
Produces this error
upon further investigation, the eels db rejects the conection. I manually fixed the issue by: