Closed mobiusklein closed 7 years ago
The _derivatize issue appeared because of substituents occuring within the glycan graph between monosaccharides, which attempted to serialize them as substituents. Now, better handling needs to be written to deal with adjacent and nested REP sections.
There also appear to be issues with joining internal repeats. This is only necessary if the number of repeats known is exact, but still not well defined enough to parse-and-forget.
Done.
The
glycoct
parser can handleREP
sections now, but only singly-nested ones, and the resulting structure is less stable. Look into why it occasionally threw errors aboutMonosaccharide has no attribute _derivatize
.