Skip to content

Updates to draw.py are causing a crash for charge separated bidentates #2744

Description

@kirkbadger18

When I try to run RMG in cases where charge separated bidentates show up, the recent updates to draw.py cause the following error:

image

I have isolated the issue by running the following input file in rmg-py main and rmg-database main with just the addition of one reaction in a reaction library. This one reaction contains a charge separated bidentate: XOXNO.

The dictionary looks like:
image
And the reaction looks like:
image

Here are the files needed to regenerate this error:
generate_error.zip

I think it has to do with this check in draw.py:
image

I tried deleting this check and it fixed the error for me, but I'm sure these lines must be here for a reason, and maybe deleting them would cause issues for someone else.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    abandonedabandoned issue/PR as determined by actions botstalestale issue/PR as determined by actions bot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions