def test_print_model(): st = Phosphorylation(Agent('MAP2K1'), Agent('MAPK3')) pa = PysbAssembler([st]) pa.make_model() pa.save_model('/dev/null')
def test_increaseamount_hill(): stmt = IncreaseAmount(Agent('TP53'), Agent('MDM2')) pa = PysbAssembler([stmt]) pa.make_model(policies='hill') pa.save_model() assert len(pa.model.parameters) == 5