From 573a7465f13d61af4f0c3fd9b80fe80bac4a92b9 Mon Sep 17 00:00:00 2001 From: Nargis Sultani Date: Thu, 14 Sep 2023 15:42:23 -0400 Subject: [PATCH] made changes --- src/validator/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/validator/main.py b/src/validator/main.py index 07d9add1..680173bd 100644 --- a/src/validator/main.py +++ b/src/validator/main.py @@ -8,7 +8,7 @@ import sys import pandas as pd -from create_schemas import get_phase_1_schema_for_lei, get_phase_2_schema_for_lei, validate_phases +from create_schemas import validate_phases_by_lei def csv_to_df(path: str) -> pd.DataFrame: @@ -27,7 +27,7 @@ def run_validation_on_df(df: pd.DataFrame, lei: str) -> None: print(df) print("") - print(validate_phases(get_phase_1_schema_for_lei(lei), get_phase_2_schema_for_lei(lei), df)) + print(validate_phases_by_lei(df, lei)) if __name__ == "__main__":