From f6b54a8fd37bd59ba3d10e256a78e551615d981d Mon Sep 17 00:00:00 2001 From: Nicolas Mounet Date: Thu, 15 Mar 2018 12:41:23 +0100 Subject: [PATCH] Fixing indentation in docstrings of StructureData -> get_pymatgen methods --- aiida/orm/data/structure.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/aiida/orm/data/structure.py b/aiida/orm/data/structure.py index 6a8725e598..725974cc7d 100644 --- a/aiida/orm/data/structure.py +++ b/aiida/orm/data/structure.py @@ -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). @@ -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). @@ -1807,9 +1807,9 @@ def _get_object_pymatgen_structure(self,**kwargs): :py:class:`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 `