Skip to content

Commit

Permalink
Fix OB overflowing the residue label
Browse files Browse the repository at this point in the history
  • Loading branch information
mwojcikowski committed Feb 24, 2019
1 parent 8c75984 commit ba5d52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oddt/docking/AutodockVina.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ def write_vina_pdbqt(mol, directory, flexible=True, name_id=None):

if is_openbabel_molecule(mol):
if flexible:
# auto bonding (b), perserve atom names (n) indices (p) and Hs (h)
kwargs = {'opt': {'b': None, 'p': None, 'h': None, 'n': None}}
# auto bonding (b), perserve atom indices (p) and Hs (h)
kwargs = {'opt': {'b': None, 'p': None, 'h': None}}
else:
# for proteins write rigid mol (r) and combine all frags in one (c)
kwargs = {'opt': {'r': None, 'c': None, 'h': None}}
Expand Down

0 comments on commit ba5d52a

Please sign in to comment.