NCATSTranslator / workflow-runner

1 stars 1 forks source link

runner_parameters references a nonexistent identifier in services #45

Closed jdr0887 closed 1 year ago

jdr0887 commented 1 year ago

https://github.com/NCATSTranslator/workflow-runner/blob/971cc4e7b02e8fdae6f345d70c4edfccdd5216d1/app/server.py#L113-L123

I believe references to service["id"] should be service["infores"] in the above lines.

Currently getting an error:

File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 148, in run_endpoint_function return await dependant.call(**values) File "/app/./app/server.py", line 115, in run_workflow if service["id"] in runner_parameters["allowlist"]: KeyError: 'id'

jdr0887 commented 1 year ago

Closed by #46