Skip to content

Commit 1605f0c

Browse files
authored
Merge pull request #64 from datakind/Validation-Errors
adjusted val cols
2 parents 55483f3 + b093d0c commit 1605f0c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/webapp/validation.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,10 @@ def validate_dataset(
106106
incoming = set(df.columns)
107107

108108
# 1) load schemas
109-
base_schema_path = "src/webapp/validation_schemas/base_schema.json"
109+
base_schema_path = "validation_schemas/base_schema.json"
110110
base_schema = load_json(base_schema_path)
111111
ext_schema = None
112-
extension_schema_path = (
113-
f"src/webapp/validation_schemas/{institution_id}_schema_extension.json"
114-
)
112+
extension_schema_path = f"validation_schemas/{institution_id}_schema_extension.json"
115113
if extension_schema_path and os.path.exists(extension_schema_path):
116114
ext_schema = load_json(extension_schema_path)
117115

0 commit comments

Comments
 (0)