-
Notifications
You must be signed in to change notification settings - Fork 78
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
Issue with inference_demo.sh: NoneType Error During MET Parsing in CCD CIF File #43
Comments
Hi @Oaklight ,
After running it, you should expect the following output:
If it doesn't print successfully, try renaming the |
I use the exact script you provided, and got the following result, which looks the same as yours to me:
then immediately I reran the inference_demo.sh
Got the same error message @cloverzizi |
Hi @Oaklight |
Some update on this @cloverzizi The machine I reported the above error message with has V100 GPUs. After switching to a machine with A100 GPUs and rerunning the same process, I encountered an error for not finding the release data at:
I resolved this by creating a soft link to the Here is a copy of the running log from the A100 machine:
Repeating the same process of soft linking This suggests the issue may be rooted in GPU-architecture-sensitive code. |
Hi @Oaklight , |
I forgot to mention in the last reply, but I did what you suggested on v100. I even tried reclone the repo and downloaded release_data via 'inference_demo.sh'. It just didn't work. That's the motivation of trying another machine. 🙂 |
Hi @Oaklight , it shouldn't be related to the type of GPU, as this processing step hasn't utilized the GPU yet. Please check the absolute path |
My account doesn't have sudo privilege, so there is no /af3-dev folder on both machines. Any other possible reason? I was using v0.3.5 when posting the issue. |
Hi @Oaklight , This might help resolve this issues. |
I appreciate this effort! I will check that out soon. Meanwhile, I made a protein score inference server, enabling RESTful queries about a few tasks. Protenix is selected as one of the big protein models. It's publicly available here: https://github.com/Oaklight/protein-score-server |
Description
When running inference_demo.sh, the script fails with an AttributeError: 'NoneType' object has no attribute 'res_id' after the warning get_component_atom_array() can not parse MET. Despite verifying that "MET" exists in the local CCD CIF file (components.v20240608.cif), the error persists. This suggests a potential issue with how the MET residue is being processed in the json_parser.py or infer_data_pipeline.py scripts.
Original terminal messages:
Steps to Reproduce
Expected Behavior
The script should successfully parse the MET residue from the CCD CIF file and proceed with inference.
Actual Behavior
The script fails with a NoneType error, indicating a problem with parsing the MET residue.
It's strange to break at this line:
I verified the local CCD cif file in python interactively:
Please enlighten me on what may caused this and how may I fix it. Thanks!
The text was updated successfully, but these errors were encountered: