def update_param_vals(model, newvals):
    update = []
    noupdate = []
    for i in model.parameters:
        if i.name in newvals:
            i.value = newvals[i.name]
            update.append(i.name)
        else:
            noupdate.append(i.name)
    return update, noupdate
Return internal state; can be passed to setstate() later.
dataset/ETHPy150Open pysb/pysb/pysb/util.py/update_param_vals--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/random.py/Random.getstate