Look for code like for input_file in input_dir.glob(f"*{POLYGON_FILE_SUFFUX}"):, and throw an error if there is no match for the glob... though there may be some exceptions where it really is optional.
Matt:
Ah, this looks relevant:
[ruffalo@login000 /hive/hubmap-test/data/consortium/University of Florida TMC/550c5a19866fb79faf17ecb75ea6987f/sprm_outputs]$ ls | grep polygon
reg001_expr.ome.tiff-cell_polygons_spatial.csv.csv
(note the .csv.csv extension)
Ted Zhang how did this happen, and how do we ensure it doesn't happen again?
Look for code like
for input_file in input_dir.glob(f"*{POLYGON_FILE_SUFFUX}"):
, and throw an error if there is no match for the glob... though there may be some exceptions where it really is optional.Originally posted by @mccalluc in https://github.com/hubmapconsortium/portal-ui/issues/2476#issuecomment-1057042274