diff --git a/backend/main.py b/backend/main.py index 744de51..5fc78b4 100644 --- a/backend/main.py +++ b/backend/main.py @@ -73,7 +73,11 @@ def get_data(): client = storage.Client() fetcher = DataFetcher(name, PREPROCESS_DIR, client.bucket(PREPROCESS_BUCKET)) - + bucket = client.bucket(RAW_BUCKET) + file = bucket.blob(name) + if not file.exists(): + response = make_response('Target file does not exist, please check file name') + return response, 404 if not fetcher.is_preprocessed(): response = make_response('Preprocessing incomplete.') return response, 404 diff --git a/frontend/dist/frontend/3rdpartylicenses.txt b/frontend/dist/frontend/3rdpartylicenses.txt index 6e43be4..403cfff 100644 --- a/frontend/dist/frontend/3rdpartylicenses.txt +++ b/frontend/dist/frontend/3rdpartylicenses.txt @@ -60,6 +60,9 @@ MIT @angular/forms MIT +@angular/localize +MIT + @angular/material MIT The MIT License diff --git a/frontend/dist/frontend/index.html b/frontend/dist/frontend/index.html index 00925b4..48806a7 100644 --- a/frontend/dist/frontend/index.html +++ b/frontend/dist/frontend/index.html @@ -31,8 +31,8 @@ rel="stylesheet" /> - +