Skip to content
Snippets Groups Projects
Commit 559107c0 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

get rid of the last traces of the evil RotamerSettings object

parent 9cd7abea
No related branches found
No related tags found
No related merge requests found
......@@ -104,11 +104,11 @@ def _AddLigandFrameResidues(frame_residues, ent_lig, rotamer_constructor, offset
# try to add frame residues (ignore exceptions)
try:
fr1 = rotamer_constructor.ConstructBackboneFrameResidue(\
res.handle, rot_id, res_idx, rotamer_settings,
res.handle, rot_id, res_idx,
phi, n_ter, c_ter)
if rot_id != sidechain.ALA and rot_id != sidechain.GLY:
fr2 = rotamer_constructor.ConstructSidechainFrameResidue(\
res.handle, rot_id, res_idx, rotamer_settings)
res.handle, rot_id, res_idx)
frame_residues.extend([fr1,fr2])
else:
frame_residues.append(fr1)
......@@ -208,7 +208,6 @@ def _AddCysteinFrameResidues(frame_residues, incomplete_sidechains,
def _GetRotamerGroup(res_handle, rot_id, res_idx, rot_lib, rot_constructor,
phi, psi, use_frm, bbdep):
'''Get RotamerGroup for res_handle according to settings.'''
if use_frm:
if bbdep:
return rot_constructor.ConstructFRMRotamerGroup(res_handle, rot_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment