diff --git a/flare/struc.py b/flare/struc.py index 2e9e009ef..548ffa66c 100644 --- a/flare/struc.py +++ b/flare/struc.py @@ -204,7 +204,8 @@ def to_pmg_structure(self): @staticmethod def from_pmg_structure(structure): """ - + Returns Pymatgen structure as FLARE structure. + :param structure: Pymatgen structure :return: FLARE Structure """ @@ -226,7 +227,6 @@ def from_pmg_structure(structure): stds = site_props['std'] new_struc.stds = [np.array(std) for std in stds] - return new_struc def get_unique_species(species):