Skip to content

Commit

Permalink
repair exercise script
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Apr 25, 2024
1 parent a305f6e commit 30a473e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercise.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _exercise_path(dirname) -> Path:
# If the full scale data is already available, the whole data download process
# can be commented out and skipped.

full_data_dir = _exercise_path("data-full-bonus")
full_data_dir = _exercise_path("data-full")

archive_sha256 = {
11: "5b0c7ad009115830fbedaee9dd33981b3bab23b3b7177a7a0a8f3c871decf989",
Expand Down Expand Up @@ -97,7 +97,7 @@ def _exercise_path(dirname) -> Path:
for filename, sha256 in full_data_sha256.items():
if not full_data_dir.joinpath(filename).exists():
raise ValueError(f"data missing: {filename}")
if sha256 != sha256_checksum(filename):
if sha256 != sha256_checksum(full_data_dir.joinpath(filename)):
raise ValueError(f"data error: {filename}")
else:
print("full data ready")
Expand Down

0 comments on commit 30a473e

Please sign in to comment.