process-bigraph 0.0.22__tar.gz → 0.0.24__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {process-bigraph-0.0.22/process_bigraph.egg-info → process-bigraph-0.0.24}/PKG-INFO +6 -1
- process-bigraph-0.0.24/process_bigraph/__init__.py +48 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph/composite.py +509 -322
- process-bigraph-0.0.24/process_bigraph/experiments/minimal_gillespie.py +207 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph/process_types.py +13 -1
- process-bigraph-0.0.24/process_bigraph/processes/__init__.py +21 -0
- {process-bigraph-0.0.22/process_bigraph/experiments → process-bigraph-0.0.24/process_bigraph/processes}/growth_division.py +3 -46
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph/processes/parameter_scan.py +9 -171
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph/tests.py +245 -14
- {process-bigraph-0.0.22 → process-bigraph-0.0.24/process_bigraph.egg-info}/PKG-INFO +6 -1
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph.egg-info/SOURCES.txt +1 -12
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph.egg-info/requires.txt +1 -2
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/setup.py +3 -3
- process-bigraph-0.0.22/.github/workflows/notebook_to_html.yml +0 -43
- process-bigraph-0.0.22/.github/workflows/pytest.yml +0 -35
- process-bigraph-0.0.22/.gitignore +0 -11
- process-bigraph-0.0.22/CLA.md +0 -113
- process-bigraph-0.0.22/CODE_OF_CONDUCT.md +0 -137
- process-bigraph-0.0.22/CONTRIBUTING.md +0 -44
- process-bigraph-0.0.22/doc/_static/process-bigraph.png +0 -0
- process-bigraph-0.0.22/notebooks/process-bigraphs.ipynb +0 -739
- process-bigraph-0.0.22/notebooks/visualize_processes.ipynb +0 -237
- process-bigraph-0.0.22/process_bigraph/__init__.py +0 -16
- process-bigraph-0.0.22/process_bigraph/experiments/minimal_gillespie.py +0 -321
- process-bigraph-0.0.22/process_bigraph/processes/__init__.py +0 -0
- process-bigraph-0.0.22/pytest.ini +0 -7
- process-bigraph-0.0.22/release.sh +0 -43
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/AUTHORS.md +0 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/LICENSE +0 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/README.md +0 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph/experiments/__init__.py +0 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph/protocols.py +0 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph.egg-info/dependency_links.txt +0 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/process_bigraph.egg-info/top_level.txt +0 -0
- {process-bigraph-0.0.22 → process-bigraph-0.0.24}/setup.cfg +0 -0
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: process-bigraph
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.24
|
|
4
|
+
Summary: UNKNOWN
|
|
4
5
|
Home-page: https://github.com/vivarium-collective/process-bigraph
|
|
5
6
|
Author: Ryan Spangler, Eran Agmon
|
|
6
7
|
Author-email: ryan.spangler@gmail.com, agmon.eran@gmail.com
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Platform: UNKNOWN
|
|
7
10
|
Classifier: Development Status :: 3 - Alpha
|
|
8
11
|
Classifier: Intended Audience :: Developers
|
|
9
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -70,3 +73,5 @@ diagraph of a whole-cell E. coli model.
|
|
|
70
73
|
## License
|
|
71
74
|
|
|
72
75
|
Bigraph-schema is open-source software released under the [Apache 2 License](https://github.com/vivarium-collective/process-bigraph/blob/main/LICENSE).
|
|
76
|
+
|
|
77
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import pprint
|
|
2
|
+
from bigraph_schema.registry import deep_merge, default
|
|
3
|
+
from process_bigraph.processes import register_processes
|
|
4
|
+
from process_bigraph.composite import Process, Step, Composite, ProcessTypes, interval_time_precision
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
pretty = pprint.PrettyPrinter(indent=2)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def pp(x):
|
|
11
|
+
"""Print ``x`` in a pretty format."""
|
|
12
|
+
pretty.pprint(x)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def pf(x):
|
|
16
|
+
"""Format ``x`` for display."""
|
|
17
|
+
return pretty.pformat(x)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def register_types(core):
|
|
21
|
+
core.register('default 1', {
|
|
22
|
+
'_inherit': 'float',
|
|
23
|
+
'_default': 1.0})
|
|
24
|
+
|
|
25
|
+
core.register('species_dependent_process', {
|
|
26
|
+
'_inherit': ['process'],
|
|
27
|
+
'_inputs': {
|
|
28
|
+
'species': {
|
|
29
|
+
'_type': 'array',
|
|
30
|
+
'_data': 'float'}},
|
|
31
|
+
'_outputs': {
|
|
32
|
+
'species': {
|
|
33
|
+
'_type': 'array',
|
|
34
|
+
'_data': 'float'}}})
|
|
35
|
+
|
|
36
|
+
core.register('ode_config', {
|
|
37
|
+
'stoichiometry': {
|
|
38
|
+
'_type': 'array',
|
|
39
|
+
'_data': 'integer'},
|
|
40
|
+
'rates': 'map[float]',
|
|
41
|
+
'species': 'map[float]'})
|
|
42
|
+
|
|
43
|
+
core = register_processes(
|
|
44
|
+
core)
|
|
45
|
+
|
|
46
|
+
return core
|
|
47
|
+
|
|
48
|
+
|