Skip to content

Commit

Permalink
fileio capitalize elements
Browse files Browse the repository at this point in the history
  • Loading branch information
kayahans committed Apr 17, 2024
1 parent 8966880 commit 86588d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nexus/lib/fileio.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ def incorporate_structure(self,structure):
s.recenter()
elem = []
for e in s.elem:
e = e.lower().title()
ne = len(e)
if ne>1:
if ne==2 and not e[1].isalpha():
Expand Down

0 comments on commit 86588d2

Please sign in to comment.