Hello all!
I'am facing a problem running the phenix.fix_insertions_deletions.
I'am using in the command line: phenix.fix_insertions_deletions sharpened_map.ccp4 resolution=3.5 protein.pdb seq.dat
I've been encountering this error:
File "/usr/local/phenix-1.19.2-4158/build/../modules/phenix/phenix/command_line/fix_insertions_deletions.py", line 7, in <module>
run_program(program_class=fix_insertions_deletions.Program)
File "/usr/local/phenix-1.19.2-4158/modules/cctbx_project/iotbx/cli_parser.py", line 72, in run_program
task.run()
File "/usr/local/phenix-1.19.2-4158/modules/phenix/phenix/programs/fix_insertions_deletions.py", line 515, in run
self.fix_insertions_deletions.run()
File "/usr/local/phenix-1.19.2-4158/modules/phenix/phenix/autosol/fix_insertions_deletions.py", line 1331, in run
self.run_macro_cycles()
File "/usr/local/phenix-1.19.2-4158/modules/phenix/phenix/autosol/fix_insertions_deletions.py", line 1464, in run_macro_cycles
self.run_cycles(mc=mc)
File "/usr/local/phenix-1.19.2-4158/modules/phenix/phenix/autosol/fix_insertions_deletions.py", line 1485, in run_cycles
self.overall_rebuild_worst_residues(icycle,mc=mc)
File "/usr/local/phenix-1.19.2-4158/modules/phenix/phenix/autosol/fix_insertions_deletions.py", line 1528, in overall_rebuild_worst_residues
mc=mc)
File "/usr/local/phenix-1.19.2-4158/modules/phenix/phenix/autosol/fix_insertions_deletions.py", line 1027, in rebuild_worst_residues
map_coeffs=map_coeffs)
File "/usr/local/phenix-1.19.2-4158/modules/phenix/phenix/autosol/fix_insertions_deletions.py", line 589, in rebuild_one_loop
end_rebuild=end_rebuild,)
UnboundLocalError: local variable 'new_model' referenced before assignment
Has anyone encountered this error before?
Thanks in advance,
Carlos Fernandes