-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to get ids of workflow outputs #415
Comments
Hi @stvlar, It seems the result returned by the Galaxy API has changed, I wasn't aware of that. Probably the best solution is to change the line after the invocation to something like the following:
|
Thank you for your response that worked! This is the error message
This is the traceback
|
That is quite strange. The error is on this line: https://github.com/galaxyproject/bioblend/blob/v0.16.0/bioblend/galaxy/datasets/__init__.py#L385 So it would suggest that the Can you check if that is really the case? |
As far as I can see it is returning a dictionary `
` |
Looks like a list of dicts to me? @davelopez maybe you have some idea here? 😕 |
@stvlar are you using a particular Galaxy version? |
I'm using the most recent release v21.09 |
yes there were more dicts there I just left them out since the only difference between them was the input file and the time |
I quickly checked and |
We should not be changing the API, which endpoint do you think has changed the response ? I'd also assume both the bioblend tests and Galaxy tests would be failing if that was the case. Does the invocation in question maybe not have any outputs ? What was the original exception ? |
The original exception was a KeyError with 'outputs' being the exception value the original problem was this line |
Can you paste it please together with the response ? And ideally a reproducible example |
@mvdbeek
the code is in my original question Unfortunately I can't send a reproducible example for confidentiality reasons |
Hello,
I'm using bioblends to get results from workflows I've developed and my code worked well until recently.
I'm trying to get the ids of the outputs to then download them as files through a web platform I'm developing with django.
This is the code I'm using:
The text was updated successfully, but these errors were encountered: