process-bigraph 1.9.0__tar.gz → 1.9.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.
Files changed (80) hide show
  1. {process_bigraph-1.9.0/process_bigraph.egg-info → process_bigraph-1.9.1}/PKG-INFO +1 -1
  2. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/scheduling.py +14 -0
  3. {process_bigraph-1.9.0 → process_bigraph-1.9.1/process_bigraph.egg-info}/PKG-INFO +1 -1
  4. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/pyproject.toml +1 -1
  5. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/AUTHORS.md +0 -0
  6. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/LICENSE +0 -0
  7. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/README.md +0 -0
  8. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/__init__.py +0 -0
  9. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/artifacts.py +0 -0
  10. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/audit_contracts.py +0 -0
  11. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/bundle.py +0 -0
  12. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/composite.py +0 -0
  13. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/composite_audit.py +0 -0
  14. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/composite_discovery.py +0 -0
  15. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/composite_generator.py +0 -0
  16. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/composite_spec.py +0 -0
  17. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/config_helpers.py +0 -0
  18. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/contract_drift.py +0 -0
  19. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/contract_strict.py +0 -0
  20. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/core_introspection.py +0 -0
  21. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/draft_process.py +0 -0
  22. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/emitter.py +0 -0
  23. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/events.py +0 -0
  24. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/experiments/__init__.py +0 -0
  25. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/experiments/minimal_gillespie.py +0 -0
  26. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/nextflow.py +0 -0
  27. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/nextflow_deploy.py +0 -0
  28. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/plumbing.py +0 -0
  29. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/__init__.py +0 -0
  30. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/bigraphical_reactive_system.py +0 -0
  31. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/cached.py +0 -0
  32. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/dynamic_structure.py +0 -0
  33. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/examples.py +0 -0
  34. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/growth_division.py +0 -0
  35. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/parameter_scan.py +0 -0
  36. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/reaction.py +0 -0
  37. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/processes/simulation.py +0 -0
  38. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/__init__.py +0 -0
  39. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/_git_worker.py +0 -0
  40. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/clusters/__init__.py +0 -0
  41. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/clusters/ec2_ssm.py +0 -0
  42. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/git.py +0 -0
  43. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/parallel.py +0 -0
  44. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/pool.py +0 -0
  45. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/ray.py +0 -0
  46. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/rest.py +0 -0
  47. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/protocols/session.py +0 -0
  48. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/run.py +0 -0
  49. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/run_composite.py +0 -0
  50. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/run_step.py +0 -0
  51. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/server/__init__.py +0 -0
  52. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/server/rest.py +0 -0
  53. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/server/start.py +0 -0
  54. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/templates.py +0 -0
  55. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/types/__init__.py +0 -0
  56. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/types/process.py +0 -0
  57. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/visualization.py +0 -0
  58. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/visualizations/__init__.py +0 -0
  59. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/visualizations/distribution.py +0 -0
  60. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/visualizations/heatmap.py +0 -0
  61. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/visualizations/param_vs_observable.py +0 -0
  62. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/visualizations/phase_space.py +0 -0
  63. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/visualizations/time_series.py +0 -0
  64. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/visualizations/timeseries_from_observables.py +0 -0
  65. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/wiring_translator.py +0 -0
  66. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/workflow/__init__.py +0 -0
  67. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/workflow/backend.py +0 -0
  68. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/workflow/provision.py +0 -0
  69. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/workflow/recipe.py +0 -0
  70. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph/workflow/tasks.py +0 -0
  71. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph.egg-info/SOURCES.txt +0 -0
  72. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph.egg-info/dependency_links.txt +0 -0
  73. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph.egg-info/requires.txt +0 -0
  74. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/process_bigraph.egg-info/top_level.txt +0 -0
  75. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/setup.cfg +0 -0
  76. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/tests/test_composite_generator_analyses.py +0 -0
  77. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/tests/test_multirate_scheduling.py +0 -0
  78. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/tests/test_process_decorator.py +0 -0
  79. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/tests/test_reaction_step.py +0 -0
  80. {process_bigraph-1.9.0 → process_bigraph-1.9.1}/tests/test_units.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: process-bigraph
3
- Version: 1.9.0
3
+ Version: 1.9.1
4
4
  Summary: protocol and execution for compositional systems biology
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -397,10 +397,24 @@ def build_step_network(steps):
397
397
  for node_path, deps in nodes.items():
398
398
  if deps['before']:
399
399
  continue # already has producers
400
+ consumers = deps['after']
400
401
  # Check if any output is an ancestor of this input path
401
402
  for out_path, producers in all_output_paths.items():
402
403
  if (len(node_path) > len(out_path)
403
404
  and node_path[:len(out_path)] == out_path):
405
+ # Container-restructure peers: when every consumer of this
406
+ # member path also WRITES the same ancestor container
407
+ # (``outputs: {..: ['..']}`` — the map _add/_remove / division
408
+ # shape), the container write is a shared structural edit, not
409
+ # a producer→consumer ordering. Each peer reads only its own
410
+ # member and never consumes what the others write, so ordering
411
+ # them by the container would be a false cycle (process-bigraph
412
+ # 1.9.0 regression on the v2ecoli division shape). An exact or
413
+ # deeper data match is handled by the first pass above (which
414
+ # leaves ``before`` non-empty, so we never reach here for it),
415
+ # so skipping only affects pure container-ancestor edges.
416
+ if consumers and consumers <= producers:
417
+ continue
404
418
  deps['before'].update(producers)
405
419
 
406
420
  # Also propagate child outputs to parent inputs.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: process-bigraph
3
- Version: 1.9.0
3
+ Version: 1.9.1
4
4
  Summary: protocol and execution for compositional systems biology
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "process-bigraph"
7
- version = "1.9.0"
7
+ version = "1.9.1"
8
8
  description = "protocol and execution for compositional systems biology"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
File without changes