Skip to content

Commit

Permalink
#187 Update schema path
Browse files Browse the repository at this point in the history
  • Loading branch information
singhd789 committed Nov 5, 2024
1 parent 0bc9d54 commit b4ab372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fre/yamltools/tests/test_combine_yamls.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def test_combined_compileyaml_validatefail():
# Validate against schema; should fail
wrong_combined = Path(f"{COMP_OUT_DIR}/combined-am5-wrong_datatype.yaml")
#schema_file = os.path.join(f"{IN_DIR}","compile_yamls","schema.json")
schema_file = os.path.join(Path(TEST_DIR).resolve().parents[7], "gfdl_msd_schemas", "FRE", "fre_make.json")
# print(schema_file)
schema_file = os.path.join(Path(TEST_DIR).resolve().parents[1], "gfdl_msd_schemas", "FRE", "fre_make.json")
print(schema_file)

# Open/load combined yaml file
with open(wrong_combined,'r') as cf:
Expand Down

0 comments on commit b4ab372

Please sign in to comment.