Skip to content

Commit

Permalink
Fixing bug for some of the new HAPI datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed May 29, 2024
1 parent a293e85 commit 7a72c92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ingestion/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ def process_openapi_data(api_name, files_dir, field_map, standard_names):
"""
datafiles = os.listdir(files_dir)
processed_dir = f"{files_dir}/processed"
if not os.path.exists(processed_dir):
os.makedirs(processed_dir)
for f in datafiles:
if f.endswith(".csv"):
filename = f"{files_dir}/{f}"
Expand Down

0 comments on commit 7a72c92

Please sign in to comment.