sokrypton / sokrypton/ColabFold
Normal notebook crashing on multimer run
Open
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 2.9k
- Forks
- 747
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I was running a complex with the AlphaFold2.ipynb notebook (I only provided a sequence with : and a job name). This was the error I got when running the Run prediction cell:
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-91283de158b2> in <module>()
5 from colabfold.download import download_alphafold_params, default_data_dir
6 from colabfold.utils import setup_logging
----> 7 from colabfold.batch import get_queries, run, set_model_type
8
9 from colabfold.colabfold import plot_protein
9 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/client/pywrap_tf_session.py in <module>()
17 # pylint: disable=invalid-import-order,g-bad-import-order, wildcard-import, unused-import
18 from tensorflow.python import pywrap_tensorflow
---> 19 from tensorflow.python.client._pywrap_tf_session import *
20 from tensorflow.python.client._pywrap_tf_session import _TF_SetTarget
21 from tensorflow.python.client._pywrap_tf_session import _TF_SetConfig
ImportError: SystemError: <built-in method __contains__ of dict object at 0x7fee7e3ef190> returned a result with an error set
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
What could be the problem?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with AlphaFold2.ipynb and reproduce the Run prediction cell using the reported multimer input. Inspect the notebook's installed NumPy and TensorFlow versions and the import path through colabfold.batch; done means identifying the incompatible dependency combination and recording a reproducible resolution for the notebook environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, numpy, python, tensorflow
- Domain
- bioinformatics, devtools, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100