Skip to content

Commit

Permalink
fix error when adding ramifications
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia committed Aug 31, 2015
1 parent 13a814a commit c805231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BuildOligo.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ def builder(residues, bonds, mol_name):
cmd.remove('%s (resi %s and name O%s+H%so)' % (sel, resi_i, atom_i, atom_i))
cmd.remove('%s (resi %s and name H%so)' % (sel, resi_j, atom_j))
cmd.fuse('%s (resi %s and name C%s)' % (sel, resi_i, atom_i), '%s (resi %s and name O%s)' % (sel, resi_j, atom_j), mode=2)
cmd.copy(mol_name, '%s' % len(bonds))
for i in range(0, len(residues)):
cmd.delete('%s' % i)
cmd.copy(mol_name, '%s' % resi_j)
cmd.delete('%s' % resi_j)
for i in range(0, len(bonds)):
set_phi(mol_name, bonds[i], -60)
set_psi(mol_name, bonds[i], 120)
Expand Down

0 comments on commit c805231

Please sign in to comment.