ADL: could someone pls help me
rhuey at scripps.edu
Thu Mar 27 08:06:28 PDT 2008
There is a bug in the version of
MGLToolsPckgs/MolKit/interactionDescriptor.py which you are using.
Specifically, in the case where the ligand has no atoms which can
hydrogen bond, a variable 'lig_hb_ats' is used without being
initialized. This causes the error.
The bug has been fixed and the corrected file has been checked into cvs,
the version control system we use.
IN PRINCIPLE, you can correct this by invoking 'cvs update' on the file.
To see whether your environment supports this, type the following lines
at your shell prompt:
cvs status interactionDescriptor.py
IF you then see this line:
File: interactionDescriptor.py Status: Needs Patch
you can use cvs update the file to correct this problem:
cvs update interactionDescriptor.py
OTHERWISE, you can replace the file with the attached version of
To do that, save the attached file somewhere as
mv interactionDescriptor.py old_interactionDescriptor.py
cp yourpath/interactionDescriptor.py interactionDescriptor.py
Thank you for your interest in our tools and for your patience....
namita at ncbs.res.in wrote:
> hi all
> i think i have posted this query before too. i found the same doubt in tha
> mailing list archives too but not a solution for it.
> I have been trying to dock a cytochrome P450 model with a fatty acid
> ligand. Till the docking part i get no errors but once its done and i try
> to view the results i get a couple of errors.
> Traceback (most recent call last):
> File "/usr/local/MGLTools-1.4.6/MGLToolsPckgs/ViewerFramework/VF.py",
> line 714, in tryto
> result = apply( command, args, kw )
> line 1922, in doit
> line 1759, in build
> self.intDescr = InteractionDescriptor(lig, macro, percentCutoff)
> line 44, in __init__
> line 51, in build
> self.buildHydrogenBonds() #
> line 117, in buildHydrogenBonds
> lig_gly_res = d['lig_hb_gly_res'] = lig_hb_res.get(lambda x:
> UnboundLocalError: local variable 'lig_hb_res' referenced before assignment
> I have tried changing the grid specifications and many other parameters
> but cant find a solution to this problem.
> any help would be greatly appreciated.
> --- ADL: AutoDock List --- http://autodock.scripps.edu/mailing_list ---
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 22802 bytes
Desc: not available
Url : http://mgldev.scripps.edu/pipermail/autodock/attachments/20080327/26eb9619/attachment-0001.py
More information about the autodock