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

Error, crash when trying to Accumulate Scores #90

Closed
nbayhi opened this issue Mar 11, 2023 · 3 comments
Closed

Error, crash when trying to Accumulate Scores #90

nbayhi opened this issue Mar 11, 2023 · 3 comments
Labels

Comments

@nbayhi
Copy link

nbayhi commented Mar 11, 2023

Hello,

When I try to accumulate scores between two selections, PyContact is quitting with a big error (multiple broken pipes, etc - text attached).

I'm loading a .psf and a short test dcd; the system is ~2100 amino acids, but I'm asking it to calculate between segid B (~1000AA) and segid E (~25AA). I'm running it in an anaconda environmet on an M2 MacBook Air running Ventura 13.1.

I'm excited to use this tool if possible -- is there something I could be doing differently?

pycontact_error.txt

@maxscheurer
Copy link
Owner

Hi,
sorry you're having problems with the tool... I'm no longer actively developing PyContact, but we might be able to fix this issue. Looks like in newer versions of pyqt, the argument type of progressBar.setValue(value) is checked. PyContact currently passes a float but an int is required. Let me try to reproduce this locally.

@maxscheurer
Copy link
Owner

@nbayhi Could you try with the most recent version from the develop branch? (Can be installed with pip install git+https://github.com/maxscheurer/pycontact@develop) I incorporated some fixes, so it should work for you now I hope.

@nbayhi
Copy link
Author

nbayhi commented Mar 12, 2023

That worked!

The pip install you mentioned did not work for me, but by downloading the .zip file and running through
python setup.py build_ext -i
python setup.py install
and then ran python setup.py install a second time

it worked! Thank you for such a prompt reply, and for making this great tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants