diff --git a/space2stats_api/src/space2stats_ingest/main.py b/space2stats_api/src/space2stats_ingest/main.py index b5f07f0..fbf843c 100644 --- a/space2stats_api/src/space2stats_ingest/main.py +++ b/space2stats_api/src/space2stats_ingest/main.py @@ -55,7 +55,9 @@ def verify_columns( raise ValueError("The 'hex_id' column is missing from the Parquet file.") # Verify Parquet columns match the STAC fields - if parquet_columns - {"hex_id"} != stac_fields: + # TODO: Standarize the hex_id in the parquet files/STAC items. + # if parquet_columns - {"hex_id"} != stac_fields: + if parquet_columns != stac_fields: extra_in_parquet = parquet_columns - stac_fields extra_in_stac = stac_fields - parquet_columns raise ValueError(