Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deactivation endpoint #226

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Deactivation endpoint #226

wants to merge 7 commits into from

Conversation

kkaris
Copy link
Contributor

@kkaris kkaris commented Jul 19, 2023

This PR adds an endpoint for deactivating templates using mira.metamodel.ops.deactivate_templates. The endpoint expects either or both of a list of transitions in the form of pairs of subject, outcome or a list of parameters which if found in a template's rate law will null that rate law.

@codecov-commenter
Copy link

codecov-commenter commented Jul 19, 2023

Codecov Report

Merging #226 (8a3f83d) into main (139d003) will increase coverage by 0.24%.
The diff coverage is 93.54%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
+ Coverage   77.75%   78.00%   +0.24%     
==========================================
  Files          68       68              
  Lines        5615     5705      +90     
==========================================
+ Hits         4366     4450      +84     
- Misses       1249     1255       +6     
Files Changed Coverage Δ
mira/examples/sir.py 100.00% <ø> (ø)
mira/dkg/model.py 95.45% <91.07%> (-1.36%) ⬇️
tests/test_model_api.py 96.86% <97.29%> (+0.04%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants