ADL: error message in display interaction command

dinda at ipc.iisc.ernet.in dinda at ipc.iisc.ernet.in
Tue Feb 19 05:57:32 PST 2008


Dear friends,
After successful running of autodock4, when I tried to open the display 
interaction option using ADT to see the mode of interaction with the 
macromilecule I saw the following error in Python shell....
Traceback (most recent call last):
  File 
"/root/autodock/MGLTool-1.4.6/MGLTools-1.4.6/MGLToolsPckgs/ViewerFramework/VF.py", 
line 716, in tryto
    result = apply( command, args, kw )
  File 
"/root/autodock/MGLTool-1.4.6/MGLTools-1.4.6/MGLToolsPckgs/Pmv/displayCommands.py", 
line 4362, in doit
    self.build(lig, macro)
  File 
"/root/autodock/MGLTool-1.4.6/MGLTools-1.4.6/MGLToolsPckgs/Pmv/displayCommands.py", 
line 4228, in build
    self.intDescr = InteractionDescriptor(lig, macro, percentCutoff)
  File 
"/root/autodock/MGLTool-1.4.6/MGLTools-1.4.6/MGLToolsPckgs/MolKit/interactionDescriptor.py", 
line 44, in __init__
    self.build(detect_pi=detect_pi)
  File 
"/root/autodock/MGLTool-1.4.6/MGLTools-1.4.6/MGLToolsPckgs/MolKit/interactionDescriptor.py", 
line 51, in build
    self.buildHydrogenBonds()           #
  File 
"/root/autodock/MGLTool-1.4.6/MGLTools-1.4.6/MGLToolsPckgs/MolKit/interactionDescriptor.py", 
line 117, in buildHydrogenBonds
    lig_gly_res = d['lig_hb_gly_res'] = lig_hb_res.get(lambda x: 
x.type=='GLY')
UnboundLocalError: local variable 'lig_hb_res' referenced before 
assignment
..........................................................................

I will be very happy if somebody helps me to resolve the problem.

Thanks in advance...
S.Dinda


-- 
---------------------------------------------------------------------------------
Shrabani Dinda                                      Hostel Adress
C/O Prof.A.G.Samuelson                              Mrigasira-63
IPC Department                                      IISc, Bangalore
IISc, Bangalore-5600012                             Phone no:+91-80-22932453 
Lab NO: +91-8022932384(extension to 23/24)          Mob:09880086740


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the autodock mailing list