- This topic is empty.
- July 2, 2021 at 3:17 pm #37252AleksGuest
when using the convert_directory_ligands_pdb_to_smi.py script to generate a single smi file with all my ligands, I get the following (typical) error:
UnboundLocalError: local variable ‘output_folder’ referenced before assignment
Usually, such problems can be overcome by defining the variable (output_folder) as a global variable; however, I am not sure where to define it in the py.file … I have tried to define it at several positions in the py.file by adding the argument "global output_folder" but unsuccessfully. Could you please tell me, how I can solve this Problem?
- July 9, 2021 at 1:29 pm #37568AleksGuest
Sorry, the variable is "output_data" not "output_folder"!