Datasets:
Update latex-formulas.py
Browse files- latex-formulas.py +2 -1
latex-formulas.py
CHANGED
@@ -58,7 +58,8 @@ class LatexFormulas(datasets.GeneratorBasedBuilder):
|
|
58 |
|
59 |
if self.config.name == "tokenized_formulas":
|
60 |
# dir_path = Path(data_path)
|
61 |
-
dir_path = Path(dl_manager.download_and_extract(data_path))
|
|
|
62 |
assert dir_path.is_dir()
|
63 |
|
64 |
return [
|
|
|
58 |
|
59 |
if self.config.name == "tokenized_formulas":
|
60 |
# dir_path = Path(data_path)
|
61 |
+
# dir_path = Path(dl_manager.download_and_extract(data_path))
|
62 |
+
dir_path = Path(dl_manager.download_and_extract(data_path)) / 'common_formulas'
|
63 |
assert dir_path.is_dir()
|
64 |
|
65 |
return [
|