19 Jan
2011
19 Jan
'11
1:20 a.m.
dear all,
we tried to set the indexes of a fragment explicitly. however, the procedure seems to be incredibly slow in the following example where we tried to add residue numbers to a particle 'frag' (set up as a fragment). somehow, the last line takes ages (dies?). any hints would be appreciated.
thanks
pia & frido
rs= IMP.Ints() for ii in (ifirst, ilast+1): rs.append(ii) tfrag = IMP.atom.Fragment(frag) tfrag.set_residue_indexes(rs)