process-bigraph 0.0.29__tar.gz → 0.0.30__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.29/process_bigraph.egg-info → process-bigraph-0.0.30}/PKG-INFO +1 -1
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/__init__.py +1 -1
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/composite.py +4 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/process_types.py +1 -1
- {process-bigraph-0.0.29 → process-bigraph-0.0.30/process_bigraph.egg-info}/PKG-INFO +1 -1
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/setup.py +1 -1
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/.github/workflows/notebook_to_html.yml +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/.github/workflows/pytest.yml +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/.gitignore +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/AUTHORS.md +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/CLA.md +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/CODE_OF_CONDUCT.md +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/CONTRIBUTING.md +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/LICENSE +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/README.md +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/doc/_static/process-bigraph.png +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/notebooks/process-bigraphs.ipynb +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/notebooks/visualize_processes.ipynb +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/emitter.py +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/experiments/__init__.py +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/experiments/minimal_gillespie.py +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/processes/__init__.py +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/processes/growth_division.py +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/processes/parameter_scan.py +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/protocols.py +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/tests.py +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph.egg-info/SOURCES.txt +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph.egg-info/dependency_links.txt +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph.egg-info/requires.txt +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph.egg-info/top_level.txt +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/pytest.ini +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/release.sh +0 -0
- {process-bigraph-0.0.29 → process-bigraph-0.0.30}/setup.cfg +0 -0
|
@@ -3,7 +3,7 @@ from bigraph_schema.registry import deep_merge, default
|
|
|
3
3
|
from process_bigraph.processes import register_processes
|
|
4
4
|
from process_bigraph.composite import Process, Step, Composite, interval_time_precision
|
|
5
5
|
from process_bigraph.process_types import ProcessTypes
|
|
6
|
-
from process_bigraph.emitter import gather_emitter_results, generate_emitter_state
|
|
6
|
+
from process_bigraph.emitter import Emitter, gather_emitter_results, generate_emitter_state
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
pretty = pprint.PrettyPrinter(indent=2)
|
|
@@ -809,6 +809,7 @@ class Composite(Process):
|
|
|
809
809
|
# get all update paths, then trigger steps that
|
|
810
810
|
# depend on those paths
|
|
811
811
|
update_paths = self.apply_updates(updates)
|
|
812
|
+
|
|
812
813
|
self.expire_process_paths(update_paths)
|
|
813
814
|
self.trigger_steps(update_paths)
|
|
814
815
|
|
|
@@ -844,11 +845,14 @@ class Composite(Process):
|
|
|
844
845
|
updates.append(step_update)
|
|
845
846
|
|
|
846
847
|
update_paths = self.apply_updates(updates)
|
|
848
|
+
self.expire_process_paths(update_paths)
|
|
847
849
|
to_run = self.cycle_step_state()
|
|
850
|
+
|
|
848
851
|
if len(to_run) > 0:
|
|
849
852
|
self.run_steps(to_run)
|
|
850
853
|
else:
|
|
851
854
|
self.steps_run = set([])
|
|
855
|
+
|
|
852
856
|
else:
|
|
853
857
|
self.steps_run = set([])
|
|
854
858
|
|
|
@@ -157,8 +157,8 @@ def deserialize_process(schema, encoded, core):
|
|
|
157
157
|
# TODO: this mutating the original value directly into
|
|
158
158
|
# the return value is weird (?)
|
|
159
159
|
shared = deserialized.get('shared', {})
|
|
160
|
+
deserialized['shared'] = {}
|
|
160
161
|
if shared:
|
|
161
|
-
deserialized['shared'] = {}
|
|
162
162
|
for step_id, step_config in shared.items():
|
|
163
163
|
step = deserialize_step(
|
|
164
164
|
'step',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/experiments/minimal_gillespie.py
RENAMED
|
File without changes
|
|
File without changes
|
{process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/processes/growth_division.py
RENAMED
|
File without changes
|
{process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph/processes/parameter_scan.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process-bigraph-0.0.29 → process-bigraph-0.0.30}/process_bigraph.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|