Skip to content

Commit

Permalink
BUG: Do not assume that the to-be joined atom subset consists of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
BvB93 committed Mar 23, 2021
1 parent be121be commit d0da2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FOX/classes/multi_mol.py
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ def get_pair_dict(self, atom_subset: Union[Sequence[AtomSubset],
for k, v in kv:
if not (k in ret or k[::-1] in ret):
ret[k] = v
return {' '.join(i for i in k): v for k, v in ret.items()}
return {' '.join(str(i) for i in k): v for k, v in ret.items()}

"""#################################### Power spectrum ###################################"""

Expand Down

0 comments on commit d0da2fa

Please sign in to comment.