i'm trying to input ligand with mol2 format in autodock but i get an error and a warrning
warrning : {5moleculs in} , {D,ducument and ...}
 Traceback (most recent call last):
  File "/tmp/autodock/dist305/MGLToolsPckgs/MGLToolsPckgs/ViewerFramework/VF.py", line 685, in tryto
    result = apply( command, args, kw )
  File "/tmp/autodock/dist305/MGLToolsPckgs/MGLToolsPckgs/AutoDockTools/autotorsCommands.py", line 481, in doit
    numAts = len(m.allAtoms)
AttributeError: 'str' object has no attribute 'allAtoms'

how does it resolve?

thank you

Recommended Answers

All 2 Replies

i also get valueError Before attribute error
valueErroe : invalid literal for int () with base 10: 'formal'

Unless I missed it, it seems you haven't posted your code. It would be easier (read: maybe possible) to help if we could see what you are trying to do. If the code is long, maybe just the pertinent piece will suffice.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.