Skip to content

Commit

Permalink
Bugfix for SNL conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Sep 15, 2019
1 parent 3a2f15d commit 155756d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/alchemy/materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def to_snl(self, authors, **kwargs):
'url', 'http://pypi.python.org/pypi/pymatgen'),
'description': h})
from pymatgen.util.provenance import StructureNL
return StructureNL(self.final_structure, authors, **kwargs)
return StructureNL(self.final_structure, authors, history=hist, **kwargs)

@classmethod
def from_snl(cls, snl):
Expand Down

0 comments on commit 155756d

Please sign in to comment.