From 27b4c880bd1332d37c92a734905b567c0d6fc42c Mon Sep 17 00:00:00 2001 From: CaseyBatten Date: Fri, 18 Oct 2024 12:17:11 -0400 Subject: [PATCH] write csv return file id --- api/src/opentrons/protocol_engine/resources/file_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/opentrons/protocol_engine/resources/file_provider.py b/api/src/opentrons/protocol_engine/resources/file_provider.py index 6ae1a4a1e89..bf54e703110 100644 --- a/api/src/opentrons/protocol_engine/resources/file_provider.py +++ b/api/src/opentrons/protocol_engine/resources/file_provider.py @@ -148,6 +148,6 @@ async def write_csv(self, write_data: GenericCsvTransform) -> str: f"Not enough space to store file {write_data.filename}." ) if self._data_files_write_csv_callback is not None: - await self._data_files_write_csv_callback(write_data) + return await self._data_files_write_csv_callback(write_data) # If we are in an analysis or simulation state, return an empty file ID return ""