def proc_depends_setter(this, value):
    """Try to convert all possible dependencies to processes"""
    from .pyppl import _anything2procs
    depends = _anything2procs(value, procset='ends')
    try:
        prev_depends = this._depends
    except KeyError:
        prev_depends = []
    for prevdep in prev_depends:
        prevdep.nexts.remove(this)
    for depend in depends:
        depend.nexts.append(this)
    return depends
