Skip to content

Commit

Permalink
insert debug tag
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Sep 27, 2024
1 parent 799011f commit f45022f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/make_assets/structure_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@


# %% Plot some disordered structures in 2D
if os.environ.get("MP_API_KEY") is None:
raise RuntimeError("no mp api key, debugging")

disordered_structs = {
mp_id: MPRester(api_key=os.environ.get("MP_API_KEY")).get_structure_by_material_id(
mp_id, conventional_unit_cell=True
Expand Down

0 comments on commit f45022f

Please sign in to comment.