@with_model
def test_run_static_analysis_cmap():
    Monomer('A', ['b'])
    Monomer('B', ['b'])
    Rule('A_binds_B', A(b=None) + B(b=None) >> A(b=1) % B(b=1),
         Parameter('k_A_binds_B', 1))
    Observable('AB', A(b=1) % B(b=1))
    res = run_static_analysis(model, contact_map=True, influence_map=False,
                              output_dir='.')
    ok_(isinstance(res.contact_map, pgv.AGraph))
    ok_(res.influence_map is None)
Writes type info into w stream.
dataset/ETHPy150Open pysb/pysb/pysb/tests/test_kappa.py/test_run_static_analysis_cmap--crossover with--dataset/ETHPy150Open denisenkom/pytds/pytds/tds_types.py/BaseType.write_info