Skip to content

Commit f6df723

Browse files
author
David Erb
committed
adds comment
1 parent bdbbed0 commit f6df723

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rockingester_lib/collectors/direct_poll.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ async def scrape_plate_directory_when_complete(
265265
Scrape a single directory looking for new files.
266266
267267
Adds discovered files to internal list which gets pushed when it reaches a configurable size.
268+
269+
TODO: Consider some other flow where well images can be copied as they arrive instead of doing them all in a bunch.
268270
"""
269271

270272
# Name of the destination directory where we will permanently store ingested well image files.
@@ -298,6 +300,7 @@ async def scrape_plate_directory_when_complete(
298300
)
299301

300302
# Don't handle the plate directory until all images have arrived.
303+
# TODO: Put in some kind of failsafe in direct_poll.py to handle case where all the well images never arrive.
301304
if len(well_names) < crystal_plate_object.get_well_count():
302305
return
303306

0 commit comments

Comments
 (0)