Skip to content

Commit

Permalink
Fixing indentation in docstrings of StructureData -> get_pymatgen met…
Browse files Browse the repository at this point in the history
…hods
  • Loading branch information
Nicolas Mounet committed Mar 15, 2018
1 parent b966001 commit f6b54a8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions aiida/orm/data/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,9 +1182,9 @@ def get_pymatgen(self,**kwargs):
periodic boundary conditions (in three dimensions) and Molecule
otherwise.
:param add_spin: True to add the spins to the pymatgen structure according to the rule:
if the kind name ends with 1 -> spin=+1
if the kind name ends with 2 -> spin=-1
Default is False (no spin added).
if the kind name ends with 1 -> spin=+1
if the kind name ends with 2 -> spin=-1
Default is False (no spin added).
.. note:: Requires the pymatgen module (version >= 3.0.13, usage
of earlier versions may cause errors).
Expand All @@ -1195,9 +1195,9 @@ def get_pymatgen_structure(self,**kwargs):
"""
Get the pymatgen Structure object.
:param add_spin: True to add the spins to the pymatgen structure according to the rule:
if the kind name ends with 1 -> spin=+1
if the kind name ends with 2 -> spin=-1
Default is False (no spin added).
if the kind name ends with 1 -> spin=+1
if the kind name ends with 2 -> spin=-1
Default is False (no spin added).
.. note:: Requires the pymatgen module (version >= 3.0.13, usage
of earlier versions may cause errors).
Expand Down Expand Up @@ -1807,9 +1807,9 @@ def _get_object_pymatgen_structure(self,**kwargs):
:py:class:`StructureData <aiida.orm.data.structure.StructureData>`
to pymatgen Structure object
:param add_spin: True to add the spins to the pymatgen structure according to the rule:
if the kind name ends with 1 -> spin=+1
if the kind name ends with 2 -> spin=-1
Default is False (no spin added).
if the kind name ends with 1 -> spin=+1
if the kind name ends with 2 -> spin=-1
Default is False (no spin added).
:return: a pymatgen Structure object corresponding to this
:py:class:`StructureData <aiida.orm.data.structure.StructureData>`
Expand Down

0 comments on commit f6b54a8

Please sign in to comment.