Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rigdenlab/SIMBAD
Browse files Browse the repository at this point in the history
  • Loading branch information
hlasimpk committed May 3, 2017
2 parents b9b76b4 + 2a1aec6 commit 448e533
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simbad/lattice/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def _as_dict(self):
dictionary = {}
for k in self.__slots__:
if k == 'unit_cell':
dictionary['a'], dictionary['b'], dictionary['c'], dictionary['alpha'], dictionary['beta'], \
dictionary['gamma'] = self.unit_cell
for k, v in zip(['a', 'b', 'c', 'alpha', 'beta', 'gamma'], self.unit_cell):
dictionary[k] = v
else:
dictionary[k] = getattr(self, k)
return dictionary
Expand Down

0 comments on commit 448e533

Please sign in to comment.