Skip to content

Commit

Permalink
Merge branch 'main' into upgrade_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeee committed May 8, 2024
2 parents 85e99c3 + 106ca8c commit 85e7bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildstock_query/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def _download_results_csv(self) -> str:
if 'Contents' not in s3_data:
raise ValueError(f"Results parquet not found in s3 at {baseline_path}")
matching_files = [path['Key'] for path in s3_data['Contents']
if "up00.parquet" in path['Key'] or 'baseline' in path['Key']]
if "up00.parquet" in path['Key'] or 'baseline.parquet' in path['Key']]

if len(matching_files) > 1:
raise ValueError(f"Multiple results parquet found in s3 at {baseline_path} for baseline."
Expand Down

0 comments on commit 85e7bc2

Please sign in to comment.