From a8d969956daaa330da47fa9f3433e74d56d60a4c Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Thu, 17 Oct 2024 09:50:33 -0500 Subject: [PATCH] Resolve existing TODO --- src/instrument/plans/mesh_plans.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/instrument/plans/mesh_plans.py b/src/instrument/plans/mesh_plans.py index 26f6c79..4080a25 100644 --- a/src/instrument/plans/mesh_plans.py +++ b/src/instrument/plans/mesh_plans.py @@ -129,10 +129,12 @@ def wait_daq_image_file_upload( full_file_name, period=60 * SECOND, ): - """Wait for image file to be uploaded by DAQ.""" - # TODO: Did the DAQ see that the detector image file write was complete? - # Check metadata catalog and find the file. - # HOWTO check the metadata catalog? + """ + Wait for image file to be uploaded by DAQ. + + Check metadata catalog and find the file. + """ + # TODO: Hoist to apstools? dm_file_cat_api = dm_api_filecat() _pre = dm_experiment["storageDirectory"] _file = full_file_name.lstrip(_pre).lstrip("/")