MEDYAN.chem_removefilament!

Tuple{MEDYAN.Context}

chem_removefilament!(c::Context; ftid=1, fid=maximum(filtype_fil_ids(c, ftid)))

Remove the filament with type id ftid and id fid.

By default the last added filament with type id ftid is removed.

Warn if any monomers on the filament are referenced by any link2mons, and remove those link2mons.

The warning can be disabled by passing keyword argument warniflink_2mon_removed=false