Skip to content
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

Aromatics, round 2 #41

Merged
merged 12 commits into from
Jun 3, 2024
Merged

Aromatics, round 2 #41

merged 12 commits into from
Jun 3, 2024

Conversation

pckroon
Copy link
Owner

@pckroon pckroon commented May 14, 2024

So far this PR enables the dekekulization of regions that show DIME.
Still TODO:

  • Implement kekulize function
  • Implement dekekulize function
  • Update README

Note that the (de)kekulize functions will remain separate from the mark_aromatic_atoms, because the latter is slightly more clever

@pckroon pckroon requested a review from fgrunewald May 14, 2024 12:34
@pckroon pckroon requested a review from fgrunewald May 21, 2024 09:18
Copy link
Collaborator

@fgrunewald fgrunewald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two test cases that seem strange to me; otherwise the code looks

tests/test_smiles_helpers.py Show resolved Hide resolved
tests/test_smiles_helpers.py Show resolved Hide resolved
@pckroon
Copy link
Owner Author

pckroon commented May 28, 2024

For both of the tests you note, the function tested is mark_aromatic_atoms, which actually doesn't adjust the bond orders (that's mark_aromatic_edges)

Copy link
Collaborator

@fgrunewald fgrunewald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is ok, if cgsmiles fails it means our tests suck. In any case I cannot test this branch due to all the rebasing and overwrites.

@pckroon pckroon merged commit 0ee2296 into master Jun 3, 2024
6 checks passed
@pckroon pckroon deleted the aromatic_readme branch June 3, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants