Skip to content

How can I add my own superatoms into AbbreviationsDefinition #3677

Answered by greglandrum
mily33 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mily33,

Here's a quick example demonstrating how to reformat that file and use it to create a set of abbreviations:
https://gist.github.com/greglandrum/c2df5e0ad91f4eee050848554264eff7

Note that this does not handle the last entries. Since those are defined by a dummy atom (which would match anything) they aren't suitable for use as abbreviations (though they probably could be used to expand superatoms in input data).

The problem with a.mol giving an error is a bug. Would you mind reporting that as a separate issue?

-greg

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mily33
Comment options

@greglandrum
Comment options

Answer selected by greglandrum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants