@with_model
def test_run_static_analysis_both():
    Monomer('A', [])
    Monomer('B', ['active'], {'active': ['y', 'n']})
    Monomer('C', ['active'], {'active': ['y', 'n']})
    Initial(A(), Parameter('A_0', 100))
    Initial(B(active='n'), Parameter('B_0', 100))
    Initial(C(active='n'), Parameter('C_0', 100))
    Rule('A_activates_B',
         A() + B(active='n') >> A() + B(active='y'),
         Parameter('k_A_activates_B', 1))
    Rule('B_activates_C',
         B(active='y') + C(active='n') >> B(active='y') + C(active='y'),
         Parameter('k_B_activates_C', 1))
    res = run_static_analysis(model, contact_map=True, influence_map=True,
                              output_dir='.')
    ok_(isinstance(res.influence_map, pgv.AGraph))
    ok_(isinstance(res.contact_map, pgv.AGraph))
Takes a string containing variable references in the form ${FOO}, $(FOO),
dataset/ETHPy150Open pysb/pysb/pysb/tests/test_kappa.py/test_run_static_analysis_both--crossover with--dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/xcode_emulation.py/_NormalizeEnvVarReferences