Skip to content

Commit

Permalink
Merge branch 'main' into update_api_notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmshn authored Oct 3, 2022
2 parents b824394 + 3247aa2 commit 433f4e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion notebooks/download_from_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@
"source": [
"from pymatgen.ext.matproj import MPRester\n",
"with MPRester(API_KEY) as mpr:\n",
" hexagonal_materials = mpr.summary.search(crystal_system=\"Hexagonal\", is_stable=True, fields=[\"material_id\"])"
" hexagonal_materials = mpr.summary.search(crystal_system=\"Hexagonal\", \n",
" is_stable=True,\n",
" has_props=[HasProps.charge_density], \n",
" fields=[\"material_id\"])"
]
},
{
Expand Down

0 comments on commit 433f4e5

Please sign in to comment.