• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LoLab-VU / pysb
74%
master: 79%

Build:
Build:
LAST BUILD BRANCH: gpu_ssa
DEFAULT BRANCH: master
Repo Added 06 Sep 2015 03:25AM UTC
Files 106
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH export_compartments
branch: export_compartments
CHANGE BRANCH
x
Reset
  • export_compartments
  • JamesPino-patch-1
  • add_python2_to_travis
  • alias_components
  • appveyorfix
  • asv
  • benchmarking
  • bidirectional_fix
  • bngSSASimulator
  • bng_read_expr_from_gdat
  • bng_simulator
  • bngconsole
  • bngl_import
  • boole2rules
  • celery
  • cupsoda
  • cupsoda_logging
  • cupsoda_py3
  • cupsoda_simulator
  • cytoscapejs
  • dae
  • dev
  • dev_may2017
  • drug_binding_macro
  • duplicate_sites
  • dupsites_localfxns
  • ems_monintegrator
  • fast_exprs
  • fast_netfiles
  • fix_solver_verbose
  • gpu_ssa
  • hybrid_particle_population
  • influence_nets
  • is_equivalent_to
  • kappatests
  • kasimPy3errorfix
  • lassie
  • lcs
  • master
  • more_docs
  • multi
  • new_revrule_op
  • nfsim
  • pysbflat_matchonce
  • remove_pygraphiv_add_dot
  • remove_pygraphviz_dep_render_network
  • rule_function
  • sensitivity_analysis
  • simclass_LAH
  • simcls_stochkit
  • simres_hdf5
  • simulatorclass
  • sphinxfix
  • sphinxver
  • stochkit
  • synth_without_initials
  • test2-rebase-cupsoda
  • update_sensitivity_tool
  • v1.6.0
  • v1.7.0
  • v1.9.0
  • v1.9.1

pending completion
540

push

travis-ci

alubbock
Fix `is_equivalent_to` for compartmental models

Currently, the `is_equivalent_to` method does not consider species
with a defined Monomer compartment, species compartment or both to
be equivalent, i.e. the following are all different:

 * A() ** C1 # monomer compartment
 * ComplexPattern([A()], compartment=C1) # species compartment
 * ComplexPattern([A() ** C1, compartment=C1) # species and monomer
                                              # compartments

These should all be equivalent, which is fixed in this patch.

I've also added a check in the `is_equivalent_to` method to check
that the ComplexPatterns are concrete, i.e. species, and not
abstract patterns, as the matching rules are subtly different.

Resolves: pysb/pysb#257

5177 of 7004 relevant lines covered (73.91%)

1.31 hits per line

Relevant lines Covered
Build:
Build:
7004 RELEVANT LINES 5177 COVERED LINES
1.31 HITS PER LINE
Source Files on export_compartments
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
540 export_compartments Fix `is_equivalent_to` for compartmental models Currently, the `is_equivalent_to` method does not consider species with a defined Monomer compartment, species compartment or both to be equivalent, i.e. the following are all different: * A() ** ... push 20 Apr 2017 11:48PM UTC alubbock travis-ci pending completion  
See All Builds (507)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc