[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] Fragment.set_residue_indexes

we just found out that we created the particle as a Domain and tried to process it as a fragment. sorry about that (albeit an error message would be helpful to prevent us from posting such problems).
anyways, is there any way to alter the residue range of a Domain after setting it up?


pia & friedrich

Am 19.01.2011 um 10:20 schrieb Pia Unverdorben:

> 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)
> _______________________________________________
> IMP-dev mailing list
> https://salilab.org/mailman/listinfo/imp-dev