Closed NetaFG closed 9 months ago
Encountered exception during execution:
Traceback (most recent call last):
File "/gs1/home/hedwig_dev/dev/lib/python3.10/site-packages/prefect/engine.py", line 844, in orchestrate_flow_run
result = await flow_call.aresult()
File "/gs1/home/hedwig_dev/dev/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 293, in aresult
return await asyncio.wrap_future(self.future)
File "/gs1/home/hedwig_dev/dev/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 355, in _run_async
result = await coro
File "/gs1/home/hedwig_dev/image_portal_workflows/em_workflows/czi/flow.py", line 244, in czi_flow
*[generate_czi_imageset(file_path=fp) for fp in fps]
TypeError: 'PrefectFuture' object is not iterable
soln:
wait on future to return result before async call.
eg
result = future.result()
Above failed job re-run here:
1) Pipeline run: https://prefect2.hedwig-workflow-api.niaiddev.net/flow-runs/flow-run/c1a293a8-cb16-4b48-abee-376574d71efa 2) Hedwig UI: https://goat.niaid.nih.gov:7333/sessions/U2Vzc2lvbjozNTcy/samples 3) File system: \ai-fas12.niaid.nih.gov\RMLSOHedwigDev\Projects\RTB\darrellh\valekseyev-2023-1012-11\Protein-2023-1018-HQ_Thumbnails-Thumbnails