hubmapconsortium / portal-containers

Docker containers to pre-process data for visualization in the portal
MIT License
0 stars 1 forks source link

Fail if no inputs match glob #97

Closed mccalluc closed 2 years ago

mccalluc commented 2 years ago

Looking at a case now where the inputs to scatac-csv-to-arrow didn't have the expected names, so

for input_path in input_dir.glob('**/umap_coords_clusters.csv'):

becomes a no-op, and it exits status-0 without actually doing anything.

We should check if there are matches for inputs, and error out if there aren't.