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

"W" expansion followed by "lgx" reduction doesn't fully reduce #125

Open
mmaiers-nmdp opened this issue Sep 29, 2021 · 0 comments
Open

"W" expansion followed by "lgx" reduction doesn't fully reduce #125

mmaiers-nmdp opened this issue Sep 29, 2021 · 0 comments

Comments

@mmaiers-nmdp
Copy link
Contributor

ard.redux_gl("DRB1*14:01/DRB1*14:54", "lgx")
'DRB1*14:01'
>>> ard.redux_gl(ard.redux_gl("DRB1*14:01/DRB1*14:54", "W"), "lgx")
'DRB1*14:01/DRB1*14:54'
>>> ard.redux_gl("DRB1*14:01/DRB1*14:54", "W")
'DRB1*14:01:01/DRB1*14:01:02/DRB1*14:01:03/DRB1*14:01:04/DRB1*14:01:05/DRB1*14:54:01:01/DRB1*14:54:01:02/DRB1*14:54:01:03/DRB1*14:54:01:04/DRB1*14:54:01:05/DRB1*14:54:01:06/DRB1*14:54:01:07/DRB1*14:54:01:08/DRB1*14:54:01:09/DRB1*14:54:01:10/DRB1*14:54:01:11/DRB1*14:54:01:12/DRB1*14:54:02/DRB1*14:54:03/DRB1*14:54:04/DRB1*14:54:05/DRB1*14:54:06/DRB1*14:54:07/DRB1*14:54:08/DRB1*14:54:09/DRB1*14:54:10'
>>> ard.redux_gl(ard.redux_gl(ard.redux_gl("DRB1*14:01/DRB1*14:54", "W"), "lgx"), "lgx")
'DRB1*14:01'

W expansion followed by lgx reduction should reduce all the way down but it apparently does not.
The brute force workaround is to call redux_gl again but this is less than ideal

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

No branches or pull requests

1 participant