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: AbNumber not installed. Please install AbNumber to use renumbering #35

Open
suhailislam opened this issue Mar 7, 2023 · 1 comment

Comments

@suhailislam
Copy link

We have installed IgFold (RedHat 7) following the instructions on GitHub and Anaconda Python 3.9.13. Testing with below example from Git. abnumber is definitely installed (works: python -c 'import abnumber'). However running (python ig-test.py) below we get error "Error: AbNumber not installed. Please install AbNumber to use renumbering".

igtest.py

from igfold import IgFoldRunner
sequences = {
"H": "QVQLQESGGGLVQAGGSLTLSCAVSGLTFSNYAMGWFRQAPGKEREFVAAITWDGGNTYYTDSVKGRFTISRDNAKNTVFLQMNSLKPEDTAVYYCAAKLLGSSRYELALAGYDYWGQGTQVTVS"
}
pred_pdb = "my_nanobody.pdb"
igfold = IgFoldRunner()
igfold.fold(
pred_pdb, # Output PDB file
sequences=sequences, # Nanobody sequence
do_refine=False, # Refine the antibody structure with PyRosetta
do_renum=True, # Renumber predicted antibody structure (Chothia)
)

Thank you

@yshen25
Copy link

yshen25 commented Feb 2, 2024

@suhailislam I hade the same issue and fixed it by upgrading numpy and pandas. The error message is misleading.
The line of code that caused error is
if do_renum: try: from igfold.utils.abnumber_ import renumber_pdb except: exit("AbNumber not installed. Please install AbNumber to use renumbering.")
The real issue is at the bottom of chain of imports:
from pandas.compat.numpy import is_numpy_dev as _is_numpy_dev
As the real error message indicates, the real issue is that the pandas version doesn't match the numpy version.

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

2 participants