-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2539 - Export of unknown monomer to HELM doesn't work
Fix code. Add UTs.
- Loading branch information
1 parent
241480e
commit a409c11
Showing
4 changed files
with
139 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128 changes: 128 additions & 0 deletions
128
api/tests/integration/tests/formats/ref/helm_unknown.ket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
{ | ||
"root": { | ||
"nodes": [ | ||
{ | ||
"$ref": "monomer489" | ||
} | ||
], | ||
"connections": [], | ||
"templates": [ | ||
{ | ||
"$ref": "monomerTemplate-unknown_monomer_with_idt_alias_Unknown" | ||
} | ||
] | ||
}, | ||
"monomer489": { | ||
"type": "monomer", | ||
"id": "489", | ||
"position": { | ||
"x": 13.213368034362787, | ||
"y": -10.06310758590698 | ||
}, | ||
"alias": "Unknown", | ||
"templateId": "unknown_monomer_with_idt_alias_Unknown", | ||
"seqid": 0 | ||
}, | ||
"monomerTemplate-unknown_monomer_with_idt_alias_Unknown": { | ||
"type": "monomerTemplate", | ||
"atoms": [ | ||
{ | ||
"label": "C", | ||
"location": [ | ||
0, | ||
0, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
1, | ||
1, | ||
1 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
2, | ||
2, | ||
2 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
3, | ||
3, | ||
3 | ||
] | ||
} | ||
], | ||
"bonds": [ | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
0, | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
1, | ||
2 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
2, | ||
3 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
0, | ||
3 | ||
] | ||
} | ||
], | ||
"class": "CHEM", | ||
"id": "unknown_monomer_with_idt_alias_Unknown", | ||
"fullName": "Unknown", | ||
"alias": "Unknown", | ||
"attachmentPoints": [ | ||
{ | ||
"attachmentAtom": 0, | ||
"leavingGroup": { | ||
"atoms": [] | ||
} | ||
}, | ||
{ | ||
"attachmentAtom": 1, | ||
"leavingGroup": { | ||
"atoms": [] | ||
} | ||
}, | ||
{ | ||
"attachmentAtom": 2, | ||
"leavingGroup": { | ||
"atoms": [] | ||
} | ||
}, | ||
{ | ||
"attachmentAtom": 3, | ||
"leavingGroup": { | ||
"atoms": [] | ||
} | ||
} | ||
], | ||
"idtAliases": { | ||
"base": "Unknown" | ||
}, | ||
"unresolved": true, | ||
"naturalAnalogShort": "" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters