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

'NoneType' object has no attribute 'identificator' #1181

Open
Harshilwalia777 opened this issue Dec 11, 2024 · 3 comments
Open

'NoneType' object has no attribute 'identificator' #1181

Harshilwalia777 opened this issue Dec 11, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Harshilwalia777
Copy link

Python 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:50:58) [GCC 12.3.0]

[2024-12-11 22:37:53,952 libworkflow INFO] Reading instructions step 0_topoaa
[2024-12-11 22:37:53,952 libworkflow INFO] Reading instructions step 1_rigidbody
[2024-12-11 22:37:53,953 libworkflow INFO] Reading instructions step 2_caprieval
[2024-12-11 22:37:53,953 libworkflow INFO] Reading instructions step 3_seletop
[2024-12-11 22:37:53,953 libworkflow INFO] Reading instructions step 4_caprieval
[2024-12-11 22:37:53,953 libworkflow INFO] Reading instructions step 5_flexref
[2024-12-11 22:37:53,953 libworkflow INFO] Reading instructions step 6_caprieval
[2024-12-11 22:37:53,953 libworkflow INFO] Reading instructions step 7_emref
[2024-12-11 22:37:53,953 libworkflow INFO] Reading instructions step 8_caprieval
[2024-12-11 22:37:53,954 libworkflow INFO] Reading instructions step 9_clustfcc
[2024-12-11 22:37:53,954 libworkflow INFO] Reading instructions step 10_seletopclusts
[2024-12-11 22:37:53,954 libworkflow INFO] Reading instructions step 11_caprieval
[2024-12-11 22:37:53,968 base_cns_module INFO] Running [topoaa] module
[2024-12-11 22:37:53,968 init INFO] [topoaa] Molecule 1: cro.pdb
[2024-12-11 22:37:53,969 init INFO] [topoaa] Sanitizing molecule cro.pdb
[2024-12-11 22:37:53,971 init INFO] [topoaa] Topology CNS input created
[2024-12-11 22:37:53,971 init INFO] [topoaa] Molecule 2: dna.pdb
[2024-12-11 22:37:53,971 init INFO] [topoaa] Sanitizing molecule dna.pdb
[2024-12-11 22:37:53,973 init INFO] [topoaa] Topology CNS input created
[2024-12-11 22:37:53,973 init INFO] [topoaa] Running CNS Jobs n=2
[2024-12-11 22:37:53,973 libutil INFO] Selected 2 cores to process 2 jobs, with 16 maximum available cores.
[2024-12-11 22:37:53,978 libparallel INFO] Using 2 cores
[2024-12-11 22:37:54,365 libparallel INFO] 2 tasks finished
[2024-12-11 22:37:54,365 init INFO] [topoaa] CNS jobs have finished
[2024-12-11 22:37:54,366 base_cns_module INFO] Module [topoaa] finished.
[2024-12-11 22:37:54,366 init INFO] [topoaa] took 0 seconds
[2024-12-11 22:37:54,705 base_cns_module INFO] Running [rigidbody] module
[2024-12-11 22:37:54,706 init INFO] [rigidbody] crossdock=true
[2024-12-11 22:37:54,706 init INFO] [rigidbody] Preparing jobs...
[2024-12-11 22:37:54,706 libutil INFO] Selected 8 cores to process 10 jobs, with 16 maximum available cores.
[2024-12-11 22:37:54,706 libparallel INFO] Using 8 cores
[2024-12-11 22:37:54,719 libparallel INFO] 10 tasks finished
[2024-12-11 22:37:54,720 init INFO] [rigidbody] Preparation took 0.013562 seconds
[2024-12-11 22:37:54,720 init INFO] [rigidbody] Running CNS Jobs n=10
[2024-12-11 22:37:54,720 libutil INFO] Selected 8 cores to process 10 jobs, with 16 maximum available cores.
[2024-12-11 22:37:54,720 libparallel INFO] Using 8 cores
[2024-12-11 22:37:58,938 libparallel INFO] 10 tasks finished
[2024-12-11 22:37:58,938 init INFO] [rigidbody] CNS jobs have finished
[2024-12-11 22:37:58,941 base_cns_module INFO] Module [rigidbody] finished.
[2024-12-11 22:37:58,942 init INFO] [rigidbody] took 4 seconds
[2024-12-11 22:37:58,956 init INFO] Running [caprieval] module
[2024-12-11 22:37:58,956 capri INFO] Found previous CNS step: 01_rigidbody
[2024-12-11 22:37:59,108 capri INFO] Saved scoring weights to: weights_params.json
[2024-12-11 22:37:59,117 libutil INFO] Selected 8 cores to process 10 jobs, with 16 maximum available cores.
[2024-12-11 22:37:59,117 libparallel INFO] Using 8 cores
[2024-12-11 22:37:59,142 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,142 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,142 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,142 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,142 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,148 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,148 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,150 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,150 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,151 libparallel WARNING] Exception in task execution: maximum recursion depth exceeded
[2024-12-11 22:37:59,153 libparallel INFO] 10 tasks finished
[2024-12-11 22:37:59,154 libutil ERROR] 'NoneType' object has no attribute 'identificator'
Traceback (most recent call last):
File "/home/root777/anaconda3/envs/haddock/lib/python3.12/site-packages/haddock/libs/libutil.py", line 335, in log_error_and_exit
yield
File "/home/root777/anaconda3/envs/haddock/lib/python3.12/site-packages/haddock/clis/cli.py", line 195, in main
workflow.run()
File "/home/root777/anaconda3/envs/haddock/lib/python3.12/site-packages/haddock/libs/libworkflow.py", line 43, in run
step.execute()
File "/home/root777/anaconda3/envs/haddock/lib/python3.12/site-packages/haddock/libs/libworkflow.py", line 162, in execute
self.module.run() # type: ignore
^^^^^^^^^^^^^^^^^
File "/home/root777/anaconda3/envs/haddock/lib/python3.12/site-packages/haddock/modules/init.py", line 245, in run
self._run()
File "/home/root777/anaconda3/envs/haddock/lib/python3.12/site-packages/haddock/modules/analysis/caprieval/init.py", line 131, in _run
jobs = sorted(jobs, key=lambda capri: capri.identificator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/root777/anaconda3/envs/haddock/lib/python3.12/site-packages/haddock/modules/analysis/caprieval/init.py", line 131, in
jobs = sorted(jobs, key=lambda capri: capri.identificator)
^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'identificator'
[2024-12-11 22:37:59,157 libutil ERROR] 'NoneType' object has no attribute 'identificator'
[2024-12-11 22:37:59,157 libutil ERROR] An error has occurred, see log file. And contact the developers if needed.
[2024-12-11 22:37:59,157 libutil INFO] Finished at 11/12/2024 22:37:59. For any help contact us at https://github.com/haddocking/haddock3/issues. Tchau! Do pobachennya! Até logo!.

@Harshilwalia777 Harshilwalia777 added the bug Something isn't working label Dec 11, 2024
@Harshilwalia777
Copy link
Author

how to resolve it, pls help

@mgiulini
Copy link
Contributor

hi @Harshilwalia777 , are you running the most recent version of the code? if that is the case, please provide us the used workflow and the input files.
otherwise, please update the software via mypi (pip install haddock3) or according to these instructions https://github.com/haddocking/haddock3/blob/main/docs/INSTALL.md and try again

@Harshilwalia777
Copy link
Author

i have used latest

@Harshilwalia777
Copy link
Author

i have used examples .cfg file

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

@amjjbonvin
Copy link
Member

amjjbonvin commented Dec 12, 2024 via email

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

@amjjbonvin
Copy link
Member

amjjbonvin commented Dec 12, 2024 via email

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

@Harshilwalia777
Copy link
Author

Harshilwalia777 commented Dec 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants