WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 90b9b4f

Browse files
authored
Fix merging (#1232)
1 parent 4a6a44c commit 90b9b4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeline/clean/merge-parallel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ def get_datasets(src: str, trg: str, datasets_glob: str):
193193
for dataset in dataset_paths:
194194
path = Path(dataset)
195195
countbytes = True
196-
if dataset.endswith(f"{src}.zst"):
196+
if dataset.endswith(f".{src}.zst"):
197197
datasets_src.append(path)
198-
elif dataset.endswith(f"{trg}.zst"):
198+
elif dataset.endswith(f".{trg}.zst"):
199199
datasets_trg.append(path)
200200
elif dataset.endswith(".best-scores.zst"):
201201
datasets_scores.append(path)

0 commit comments

Comments
 (0)