Skip to content

Commit

Permalink
fix spglib deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Oct 21, 2024
1 parent 16136d2 commit 8c1373c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion atomrdf/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,4 +440,4 @@ def _get_symmetry_dict(system):
atom_types = system._structure_dict["species"]

results = spglib.get_symmetry_dataset((box, direct_coordinates, atom_types))
return results["international"], results["number"]
return results.international, results.number
4 changes: 2 additions & 2 deletions examples/01_getting_started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5114,7 +5114,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "workflow-rdf",
"language": "python",
"name": "python3"
},
Expand All @@ -5128,7 +5128,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
"version": "3.11.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 8c1373c

Please sign in to comment.