next up previous contents index
Next: schedule.write() write Up: The schedule class: variable Previous: schedule() create   Contents   Index

schedule.make_for_model() -- trim a schedule for a model

make_for_model(mdl)
This takes the input schedule, and returns a new schedule, trimmed to the right length for mdl. Schedule steps are taken from the input schedule in order, finishing when the first step with a residue range greater than or equal to the number of residues in mdl is reached, unless the range is 9999. The value of last_scales for the input schedule is also considered; the last last_scales entries in the new schedule will always have the same scaling factors as the last last_scales entries in the input schedule, even if trimming occurred.

Example: See schedule() command.



Automatic builds 2008-10-07