def inhibit(targ, inh, kf, kr):
    """inhibition by complexation/sequestration"""
    r_name = 'inhibit_%s_by_%s' % (targ.name, inh.name)
    T = targ(b=None)
    I = inh(b=None)
    TI = inh(b=1) % targ(b=1)
    Rule(r_name, T + I <> TI, kf, kr)


# L + pR <--> L:pR --> DISC
dataset/ETHPy150Open pysb/pysb/pysb/examples/earm_1_0.py/inhibit/swapped operands of `%`