Skip to content

Commit

Permalink
fix a bug regarding rare elements
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhu2017 committed Oct 3, 2024
1 parent 22ddb12 commit 5f7354c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyxtal/database/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ def __init__(self, input_value):
self.covalent_radius = self.elements_list[pos][5]
self.vdw_radius = self.elements_list[pos][6]
self.metallic_radius = self.elements_list[pos][7]
self.scatter = self.sf[pos]
if pos <= len(self.sf):
self.scatter = self.sf[pos]

def get_all(self, pos):
"""
Expand Down

0 comments on commit 5f7354c

Please sign in to comment.