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

Add debug printing for inline residue selector parsing logic. #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

roccomoretti
Copy link
Member

There was some discussion (by e.g. @nannemdp) that the inline logic for ResidueSelectors doesn't always do the same thing as the separate AND/OR/NOT selectors do. This PR adds a rudimentary nested residue selector printing facility, and enables it with debug output on the core.select.residue_selector.util tracer when parsing inline logic.

It's primarily for debug purposes, and may or may not be useful in practice. (I didn't see any evidence of mis-parsing in the example under question.)

There was some discussion that the inline logic for ResidueSelectors doesn't always do the same thing as the separate AND/OR/NOT
selectors do. This PR adds a rudimentary nested residue selector printing facility, and enables it with debug output on the core.select.residue_selector.util tracer
when parsing inline logic.

It's primarily for debug purposes, and may or may not be useful in practice.
@nannemdp
Copy link
Member

I don't know that they don't work in the same way, but that I can't get them to work at all. I know, it's unexplainable, and I don't have evidence in hand. But when I use explicit logic selectors I get the functionality I need...

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.

2 participants