-
Notifications
You must be signed in to change notification settings - Fork 158
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
Pfam not completely working #1827
Comments
@atbogetti, any chance you could check this too please seeing as you’ve just been over the pfam code changes? |
@jamesmkrieger Yes, I have actually started to look into this already. I will figure it out. |
Thanks! Glad to have you on board |
@jamesmkrieger I tried the pfam tests and also encountered failures. I have narrowed down the source of the issue to this line: Lines 421 to 422 in 412c8fa
TypeError: can't multiply sequence by non-int of type 'Forward' . I tried manually inputting the range and got the same error, though when I just use a single number as the selection (for instance, resindex 10 ) it works just fine. Do you know if something changed in the residue selection language recently? I can dig deeper but just wanted to see if this may be familiar to you before proceeding.
|
I don’t think it changed. The selection parser is too complicated to change really. Maybe something changed in pyparsing though |
Bingo. I downgraded pyparsing to v3.1.1 (current is 3.1.2) and it works now. The pfam tests also all pass without any failures. |
Great! |
@jamesmkrieger Yes I will check those and get back to you. |
Actually, that's not true. The pfam tests pass because I changed them. The original tests still fail if we change the pyparsing version (see https://github.com/prody/ProDy/actions/runs/8294288857?pr=1845), so I don't think that's actually the issue here although it's definitely an issue that we have to fix (see also #1844). |
The numpy thing with pyparsing is now checked and that indeed fixed it. |
closed by #1851 |
For example, the AMPAR test only gives 2 out of 4 pfam domains at least sometimes
The text was updated successfully, but these errors were encountered: