Skip to content

Commit ba2e8c6

Browse files
committed
Map undefined bond types to single when writing CIF files since they don't have an unknown bond type
1 parent 39db8ae commit ba2e8c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

moleculekit/writers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,7 @@ def CIFwrite(
10271027
"4": "QUAD",
10281028
"ar": "AROM",
10291029
"am": "SING",
1030+
"un": "SING", # Default to single for unknown bond type
10301031
}
10311032
xyz_map = {
10321033
"Cartn_x": 0,

0 commit comments

Comments
 (0)