Skip to content

Commit 30a473e

Browse files
committed
repair exercise script
1 parent a305f6e commit 30a473e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercise.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _exercise_path(dirname) -> Path:
2727
# If the full scale data is already available, the whole data download process
2828
# can be commented out and skipped.
2929

30-
full_data_dir = _exercise_path("data-full-bonus")
30+
full_data_dir = _exercise_path("data-full")
3131

3232
archive_sha256 = {
3333
11: "5b0c7ad009115830fbedaee9dd33981b3bab23b3b7177a7a0a8f3c871decf989",
@@ -97,7 +97,7 @@ def _exercise_path(dirname) -> Path:
9797
for filename, sha256 in full_data_sha256.items():
9898
if not full_data_dir.joinpath(filename).exists():
9999
raise ValueError(f"data missing: {filename}")
100-
if sha256 != sha256_checksum(filename):
100+
if sha256 != sha256_checksum(full_data_dir.joinpath(filename)):
101101
raise ValueError(f"data error: {filename}")
102102
else:
103103
print("full data ready")

0 commit comments

Comments
 (0)