process-bigraph 1.4.5__tar.gz → 1.4.7__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 (43) hide show
  1. {process_bigraph-1.4.5/process_bigraph.egg-info → process_bigraph-1.4.7}/PKG-INFO +1 -1
  2. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/composite.py +0 -26
  3. {process_bigraph-1.4.5 → process_bigraph-1.4.7/process_bigraph.egg-info}/PKG-INFO +1 -1
  4. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/pyproject.toml +1 -1
  5. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/AUTHORS.md +0 -0
  6. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/LICENSE +0 -0
  7. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/README.md +0 -0
  8. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/__init__.py +0 -0
  9. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/bundle.py +0 -0
  10. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/emitter.py +0 -0
  11. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/experiments/__init__.py +0 -0
  12. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/experiments/minimal_gillespie.py +0 -0
  13. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/nextflow.py +0 -0
  14. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/plumbing.py +0 -0
  15. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/__init__.py +0 -0
  16. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/dynamic_structure.py +0 -0
  17. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/examples.py +0 -0
  18. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/growth_division.py +0 -0
  19. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/math_expression.py +0 -0
  20. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/parameter_scan.py +0 -0
  21. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/processes/reaction.py +0 -0
  22. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/__init__.py +0 -0
  23. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/clusters/__init__.py +0 -0
  24. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/clusters/ec2_ssm.py +0 -0
  25. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/parallel.py +0 -0
  26. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/pool.py +0 -0
  27. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/ray.py +0 -0
  28. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/rest.py +0 -0
  29. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/session.py +0 -0
  30. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/protocols/socket.py +0 -0
  31. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/run.py +0 -0
  32. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/run_step.py +0 -0
  33. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/server/__init__.py +0 -0
  34. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/server/rest.py +0 -0
  35. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/server/start.py +0 -0
  36. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/types/__init__.py +0 -0
  37. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/types/process.py +0 -0
  38. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph/units.py +0 -0
  39. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/SOURCES.txt +0 -0
  40. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/dependency_links.txt +0 -0
  41. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/requires.txt +0 -0
  42. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/process_bigraph.egg-info/top_level.txt +0 -0
  43. {process_bigraph-1.4.5 → process_bigraph-1.4.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: process-bigraph
3
- Version: 1.4.5
3
+ Version: 1.4.7
4
4
  Summary: protocol and execution for compositional systems biology
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -3093,38 +3093,12 @@ class Composite(Process):
3093
3093
  # step_paths indexes incrementally instead of re-scanning
3094
3094
  # the full state via find_instance_paths.
3095
3095
  structural_events = [] if had_structural_sentinels else None
3096
- # DEBUG: track cell_mass before/after apply + global_time
3097
- _dbg_before = None
3098
- _dbg_update = None
3099
- _dbg_gt_before = self.state.get('global_time')
3100
- _dbg_update_gt = combined_update.get('global_time') if isinstance(combined_update, dict) else None
3101
- try:
3102
- _agent_state = self.state.get('agents', {}).get('00') or self.state.get('agents', {}).get('0')
3103
- if _agent_state:
3104
- _dbg_before = _agent_state.get('listeners', {}).get('mass', {}).get('cell_mass')
3105
- _u_agents = combined_update.get('agents', {}) if isinstance(combined_update, dict) else {}
3106
- _u_agent = _u_agents.get('00') if isinstance(_u_agents, dict) else None
3107
- if not _u_agent and isinstance(_u_agents, dict):
3108
- _u_agent = _u_agents.get('0') if _u_agents else None
3109
- if _u_agent:
3110
- _dbg_update = _u_agent.get('listeners', {}).get('mass', {}).get('cell_mass')
3111
- except Exception:
3112
- pass
3113
3096
  self.state, merges = self.core.apply(
3114
3097
  apply_schema,
3115
3098
  self.state,
3116
3099
  combined_update,
3117
3100
  update_has_structural=had_structural_sentinels,
3118
3101
  events=structural_events)
3119
- try:
3120
- _agents_dict = self.state.get('agents', {})
3121
- _agent_state = _agents_dict.get('00') or _agents_dict.get('0')
3122
- _dbg_after = _agent_state.get('listeners', {}).get('mass', {}).get('cell_mass') if _agent_state else None
3123
- _gt_after = self.state.get('global_time')
3124
- if _dbg_update is not None or (_dbg_before is not None and _dbg_before != _dbg_after):
3125
- print(f'[APPLY_DEBUG] composite_id={id(self)} state_id={id(self.state)} agents_id={id(_agents_dict)} gt_before={_dbg_gt_before} gt_after={_gt_after} update_gt={_dbg_update_gt} cm: {_dbg_before} +update={_dbg_update} -> {_dbg_after}', flush=True)
3126
- except Exception:
3127
- pass
3128
3102
  # For structural sentinels, apply mutates the
3129
3103
  # access-normalized form of ``apply_schema`` in place
3130
3104
  # (e.g. ``_divide`` pops the mother key and inserts
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: process-bigraph
3
- Version: 1.4.5
3
+ Version: 1.4.7
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.4.5"
7
+ version = "1.4.7"
8
8
  description = "protocol and execution for compositional systems biology"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
File without changes