-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some coordgen templates don't match themselves #52
Comments
Adds a test that when coordgen is run on the template files, the templates are actually used. Does this by reading the template files into molecules and then running generateCoordinates(). It looks like the template matching code adds the "rigid" property to any atom that had matched a template, so that's what is checked here.
Adds a test that when coordgen is run on the template files, the templates are actually used. Does this by reading the template files into molecules and then running generateCoordinates(). It looks like the template matching code adds the "rigid" property to any atom that had matched a template, so that's what is checked here.
this happens because we now try to first open one ring and generate the rest of the coordinates and when we can't do that resort to templates. I'm actually happy with the result in this case but I do think that it'd be worth to search for templates as a first step instead and have a look at how that impacts performance |
Adds a test that when coordgen is run on the template files, the templates are actually used. Does this by reading the template files into molecules and then running generateCoordinates(). It looks like the template matching code adds the "rigid" property to any atom that had matched a template, so that's what is checked here.
If it doesn't have a big performance impact, it seems like the "expected" behavior would indeed be to check the templates first. Are templates allowed to match parts of a set of fused rings? I could imagine that leading to awkward depictions if we apply the templates first. |
Adds a test that when coordgen is run on the template files, the templates are actually used. Does this by reading the template files into molecules and then running generateCoordinates(). It looks like the template matching code adds the "rigid" property to any atom that had matched a template, so that's what is checked here.
There are some coordgen templates that don't match themselves! If I import the coordgen templates.mae file into Maestro and display the structures in the 2D viewer, the 2D view clearly doesn't match the input template.
This affects templates (0 indexed):
Here's an example. White is the coordinates generated by coordgen, black is the template structure:
Furthermore, some of the templates match other templates instead of themselves! This means that that some templates will never be used, and so only part of the template is actually honored. This affects templates (0 indexed):
The text was updated successfully, but these errors were encountered: