Skip to content

Commit

Permalink
change load_exemplars to desired format, pass flake8 and regolith test.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhua0320 committed Jul 5, 2024
1 parent d8416aa commit 3d69841
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions regolith/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,8 @@ def load_schemas():
def load_exemplars():
here = Path(__file__).parent
exemplar_file = here / "exemplars.json"
with open(exemplar_file, "r", encoding="utf-8") as exemplar_file:
raw_exemplars = json.load(exemplar_file)
exemplars = raw_exemplars
with open(exemplar_file, "r", encoding="utf-8") as efile:
exemplars = json.load(efile)
return exemplars


Expand Down

0 comments on commit 3d69841

Please sign in to comment.