process-bigraph 1.3.0__tar.gz → 1.3.1__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-1.3.0/process_bigraph.egg-info → process_bigraph-1.3.1}/PKG-INFO +1 -1
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/types/process.py +7 -3
- {process_bigraph-1.3.0 → process_bigraph-1.3.1/process_bigraph.egg-info}/PKG-INFO +1 -1
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/pyproject.toml +1 -1
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/AUTHORS.md +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/LICENSE +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/README.md +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/__init__.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/bundle.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/composite.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/emitter.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/experiments/__init__.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/experiments/minimal_gillespie.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/nextflow.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/plumbing.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/__init__.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/dynamic_structure.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/examples.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/growth_division.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/math_expression.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/parameter_scan.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/reaction.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/protocols/__init__.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/protocols/parallel.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/protocols/rest.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/protocols/socket.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/run.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/run_step.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/types/__init__.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/units.py +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph.egg-info/SOURCES.txt +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph.egg-info/dependency_links.txt +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph.egg-info/requires.txt +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph.egg-info/top_level.txt +0 -0
- {process_bigraph-1.3.0 → process_bigraph-1.3.1}/setup.cfg +0 -0
|
@@ -323,10 +323,14 @@ def realize(core, schema: SharedProcess, state, path=()):
|
|
|
323
323
|
if not hasattr(instance, 'core') or instance.core is None:
|
|
324
324
|
instance.core = core
|
|
325
325
|
|
|
326
|
-
# Restore process-internal RandomState if a checkpoint captured
|
|
326
|
+
# Restore process-internal RandomState if a checkpoint captured
|
|
327
|
+
# one. Cross-gen daughter loads should strip ``rng_state`` from
|
|
328
|
+
# the saved bundle before construction (so the daughter starts
|
|
329
|
+
# fresh from a freshly-seeded process); mid-tick checkpoints
|
|
330
|
+
# leave it in for bit-for-bit continuation.
|
|
327
331
|
rng_state = state.get('rng_state')
|
|
328
|
-
if rng_state and hasattr(instance, 'random_state')
|
|
329
|
-
instance.random_state, np.random.RandomState):
|
|
332
|
+
if (rng_state and hasattr(instance, 'random_state')
|
|
333
|
+
and isinstance(instance.random_state, np.random.RandomState)):
|
|
330
334
|
try:
|
|
331
335
|
instance.random_state.set_state((
|
|
332
336
|
rng_state['alg'],
|
|
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-1.3.0 → process_bigraph-1.3.1}/process_bigraph/experiments/minimal_gillespie.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/dynamic_structure.py
RENAMED
|
File without changes
|
|
File without changes
|
{process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/growth_division.py
RENAMED
|
File without changes
|
{process_bigraph-1.3.0 → process_bigraph-1.3.1}/process_bigraph/processes/math_expression.py
RENAMED
|
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-1.3.0 → process_bigraph-1.3.1}/process_bigraph.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|