Skip to content

Commit

Permalink
Add sel and ars fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Strandgaard96 committed Feb 5, 2024
1 parent b9929e6 commit b9da4fe
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions xyz2mol.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,18 @@
atomic_valence[8] = [2,1,3]
atomic_valence[9] = [1]
atomic_valence[14] = [4]
atomic_valence[15] = [5,3] #[5,4,3]
atomic_valence[15] = [3,5] #[5,4,3]
atomic_valence[16] = [6,3,2] #[6,4,2]
atomic_valence[17] = [1]
atomic_valence[32] = [4]
atomic_valence[35] = [1]
atomic_valence[53] = [1]


# tmp fix for selenium and arsenic
# atomic_valence[33] = [5,3]
# atomic_valence[34] = [6,3,2]

atomic_valence_electrons = {}
atomic_valence_electrons[1] = 1
atomic_valence_electrons[5] = 3
Expand All @@ -78,6 +83,9 @@
atomic_valence_electrons[35] = 7
atomic_valence_electrons[53] = 7

# atomic_valence_electrons[33] = 5
# atomic_valence_electrons[34] = 6


def str_atom(atom):
"""
Expand Down Expand Up @@ -787,7 +795,6 @@ def main():
# if you don't want to install networkx set quick=False and
# uncomment 'import networkx as nx' at the top of the file
quick = not args.no_graph

# chiral comment
embed_chiral = not args.ignore_chiral

Expand Down

0 comments on commit b9da4fe

Please sign in to comment.