gabrielaltay
commited on
Commit
•
779ac25
1
Parent(s):
f957799
fix off-by-one error in baseline name construction
Browse files- pmc_open_access.py +1 -1
pmc_open_access.py
CHANGED
@@ -108,7 +108,7 @@ class PmcOpenAccess(datasets.GeneratorBasedBuilder):
|
|
108 |
url = _URL.format(subset=_SUBSETS[subset])
|
109 |
basename = f"{_SUBSETS[subset]}_txt."
|
110 |
# Baselines
|
111 |
-
baselines = [f"PMC00{i}xxxxxx.baseline.{_BASELINE_DATE}" for i in range(
|
112 |
# baseline_urls = {
|
113 |
# "baseline_file_lists": [f"{url}{basename}{baseline}.filelist.csv" for baseline in baselines],
|
114 |
# "baseline_archives": [f"{url}{basename}{baseline}.tar.gz" for baseline in baselines],
|
|
|
108 |
url = _URL.format(subset=_SUBSETS[subset])
|
109 |
basename = f"{_SUBSETS[subset]}_txt."
|
110 |
# Baselines
|
111 |
+
baselines = [f"PMC00{i}xxxxxx.baseline.{_BASELINE_DATE}" for i in range(10)]
|
112 |
# baseline_urls = {
|
113 |
# "baseline_file_lists": [f"{url}{basename}{baseline}.filelist.csv" for baseline in baselines],
|
114 |
# "baseline_archives": [f"{url}{basename}{baseline}.tar.gz" for baseline in baselines],
|