MEDYAN.fil_num_unmin_ends

Tuple{MEDYAN.Context, Int64, Int64}

fil_num_unmin_ends(
    c::MEDYAN.Context,
    ftid::Int64,
    fil_id::Int64
) -> Tuple{Int64, Int64}

Return a tuple (minus, plus) of the number of unminimized monomers on the minus and plus end of a filament.

This will be reset to (0, 0) by minimize_energy!

When an end is depolymerized this will decrease, but saturate at 0. When an end is polymerized this will increase.

For example if after minimization a filament has a plus end depolymerization, this function will return (0, 0). Then if a plus end polymerization happens, this function will return (0, 1), even though the net change in filament length is zero.