Skip to content

Commit

Permalink
made changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nargis Sultani committed Sep 14, 2023
1 parent 761470b commit 573a746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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__":
Expand Down

0 comments on commit 573a746

Please sign in to comment.