You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "RunAutogrow.py", line 688, in <module>
AutogrowMainExecute.main_execute(vars)
File "/opt/modeling/molecule-generation/reinforced-genetic-algorithm/autogrow/autogrow_main_execute.py", line 105, in main_execute
current_generation_dir, smile_file_new_gen)
File "/opt/modeling/molecule-generation/reinforced-genetic-algorithm/autogrow/docking/execute_docking.py", line 166, in run_docking_common
deleted_smiles_names_list = deleted_smiles_names_list_convert + deleted_smiles_names_list_dock
NameError: name 'deleted_smiles_names_list_convert' is not defined
So I looked into execute_docking.py and uncommented the following part:
########### print #############
deleted_smiles_names_list_convert = [x for x in smiles_names_failed_to_convert if x is not None]
deleted_smiles_names_list_convert = list(set(deleted_smiles_names_list_convert))
# if len(deleted_smiles_names_list_convert) != 0:
# print("THE FOLLOWING LIGANDS WHICH FAILED TO CONVERT:")
# print(deleted_smiles_names_list_convert)
# print("####################")
Then I ran the command again and got different error message:
Finished generation 0
/opt/modeling/molecule-generation/reinforced-genetic-algorithm/output/Run_10/generation_1/
Traceback (most recent call last):
File "RunAutogrow.py", line 688, in <module>
AutogrowMainExecute.main_execute(vars)
File "/opt/modeling/molecule-generation/reinforced-genetic-algorithm/autogrow/autogrow_main_execute.py", line 114, in main_execute
crossover_ligand1_policy_net, crossover_ligand2_policy_net, )
TypeError: populate_generation() takes 2 positional arguments but 6 were given
Because it looked that "autogrow_main_execute.py" calls "populate_generation" defined in "autogrow/operators/operations1.py", I changed "autogrow/autogrow_main_execute.py" as below:
#import autogrow.operators.operations as operations
import autogrow.operators.operations1 as operations
Then ran the command again and got another error:
No PDB folder to concatenate and compress. This is likely generation 0 seeded with a Ranked .smi file.
Finished generation 0
/opt/modeling/molecule-generation/reinforced-genetic-algorithm/output/Run_11/generation_1/
There were no available ligands in previous generation ranked ligand file.
Check formatting or if file has been moved.
Traceback (most recent call last):
File "RunAutogrow.py", line 688, in <module>
AutogrowMainExecute.main_execute(vars)
File "/opt/modeling/molecule-generation/reinforced-genetic-algorithm/autogrow/autogrow_main_execute.py", line 115, in main_execute
crossover_ligand1_policy_net, crossover_ligand2_policy_net, )
File "/opt/modeling/molecule-generation/reinforced-genetic-algorithm/autogrow/operators/operations1.py", line 85, in populate_generation
source_compounds_list = get_complete_list_prev_gen_or_source_compounds(vars, generation_num)
File "/opt/modeling/molecule-generation/reinforced-genetic-algorithm/autogrow/operators/operations1.py", line 721, in get_complete_list_prev_gen_or_source_compounds
raise Exception(printout)
Exception:
There were no available ligands in previous generation ranked ligand file.
Check formatting or if file has been moved.
I gave up with going further and came here to ask for help.
Thanks.
-Don
I installed rga on Ubuntu 22.04. Conda environments are listed at the end.
Then I tried to run the following commands:
I got errors as below:
So I looked into execute_docking.py and uncommented the following part:
Then I ran the command again and got different error message:
Because it looked that "autogrow_main_execute.py" calls "populate_generation" defined in "autogrow/operators/operations1.py", I changed "autogrow/autogrow_main_execute.py" as below:
Then ran the command again and got another error:
I gave up with going further and came here to ask for help.
Thanks.
-Don
conda environments
The text was updated successfully, but these errors were encountered: