-
Notifications
You must be signed in to change notification settings - Fork 52
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
descriptor_type empty for Scipion workflow type. #1955
Comments
Yeah, TRS currently has a hard-coded enum of acceptable workflow types: https://github.com/ga4gh/tool-registry-service-schemas/blob/develop/openapi/openapi.yaml#L730-L740 Although there is an open issue about how to extend this: ga4gh/tool-registry-service-schemas#215 You might be able to do what you want with the regular Git API: where |
Thanks, how can I get the list of files for 599 entry without knowing them? |
There's a "tree" endpoint also:
(documentation for these endpoints coming soon™️) |
Thanks, got it! I think I can reach the files this way. Justfor you yo know.... our plan is for Scipion "python workflow engine" list workflows from workflowhub of type Scipion. Currently, I think it is not possible to filter by Type "Scipion"? I managed to filter by organization. So far if fine, we will use : https://workflowhub.eu/ga4gh/trs/v2/tools?organization=Scipion CNB Then we'll use the git endpoint to get the file we want |
You can get a JSON response from the regular index page (with any filters etc. applied):
|
Hi, I'm trying to use the API to get the files described by entry 599 or other similar ones.
When requesting https://workflowhub.eu/ga4gh/trs/v2/tools/599/versions
I'm not getting the type:
Which is needed by the API to get the files later as described in the documentation:
/tools/{id}/versions/{version_id}/{type}/files
Is this the way to get the files when workflow type is Scipion or other than : GALAXY CWL ... (seems to be a short list of valid ones?)
The text was updated successfully, but these errors were encountered: