chanzuckerberg / cryoet-data-portal-backend

CryoET Data Portal API server & ingestion scripts
MIT License
1 stars 2 forks source link

create script to check for invalid configs / missed aws config files #154

Closed daniel-ji closed 1 month ago

daniel-ji commented 1 month ago

A script to check if all the files / globs in the sources of a dataset configuration (YAML) file are valid. (The script ensures that files are properly getting referenced in the config file, so that the process of creating dataset configs is easier) Currently only supports run_data_map_file, but looking to extend to other standardization_config fields in the future. Requires AWS credentials to access the S3 bucket where the files are stored. Attempts to replace any formatted strings with their corresponding values from the run_data_map_file.