Update RefRef_test.py
Browse files- RefRef_test.py +2 -2
RefRef_test.py
CHANGED
@@ -100,8 +100,8 @@ class RefRef_test(datasets.GeneratorBasedBuilder):
|
|
100 |
# for filepath in filepaths:
|
101 |
print(filepaths)
|
102 |
# Add validation for JSON files
|
103 |
-
if not filepaths.endswith(".json") or os.path.isdir(filepaths):
|
104 |
-
|
105 |
|
106 |
with open(filepaths, "r", encoding="utf-8") as f:
|
107 |
try:
|
|
|
100 |
# for filepath in filepaths:
|
101 |
print(filepaths)
|
102 |
# Add validation for JSON files
|
103 |
+
# if not filepaths.endswith(".json") or os.path.isdir(filepaths):
|
104 |
+
# continue
|
105 |
|
106 |
with open(filepaths, "r", encoding="utf-8") as f:
|
107 |
try:
|