process-bigraph 0.0.24__tar.gz → 0.0.25__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 (21) hide show
  1. {process-bigraph-0.0.24/process_bigraph.egg-info → process-bigraph-0.0.25}/PKG-INFO +1 -1
  2. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/composite.py +12 -9
  3. {process-bigraph-0.0.24 → process-bigraph-0.0.25/process_bigraph.egg-info}/PKG-INFO +1 -1
  4. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/setup.py +1 -1
  5. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/AUTHORS.md +0 -0
  6. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/LICENSE +0 -0
  7. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/README.md +0 -0
  8. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/__init__.py +0 -0
  9. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/experiments/__init__.py +0 -0
  10. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/experiments/minimal_gillespie.py +0 -0
  11. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/process_types.py +0 -0
  12. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/processes/__init__.py +0 -0
  13. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/processes/growth_division.py +0 -0
  14. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/processes/parameter_scan.py +0 -0
  15. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/protocols.py +0 -0
  16. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph/tests.py +0 -0
  17. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph.egg-info/SOURCES.txt +0 -0
  18. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph.egg-info/dependency_links.txt +0 -0
  19. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph.egg-info/requires.txt +0 -0
  20. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/process_bigraph.egg-info/top_level.txt +0 -0
  21. {process-bigraph-0.0.24 → process-bigraph-0.0.25}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: process-bigraph
3
- Version: 0.0.24
3
+ Version: 0.0.25
4
4
  Summary: UNKNOWN
5
5
  Home-page: https://github.com/vivarium-collective/process-bigraph
6
6
  Author: Ryan Spangler, Eran Agmon
@@ -797,8 +797,19 @@ class Composite(Process):
797
797
  self.add_emitter(
798
798
  emitter_config)
799
799
 
800
- self.step_triggers = {}
800
+ self.front: Dict = {
801
+ path: empty_front(self.state['global_time'])
802
+ for path in self.process_paths}
803
+
804
+ self.bridge_updates = []
805
+
806
+ # build the step network
807
+ self.build_step_network()
808
+
809
+ # self.run_steps(self.to_run)
801
810
 
811
+ def build_step_network(self):
812
+ self.step_triggers = {}
802
813
  for step_path, step in self.step_paths.items():
803
814
  step_triggers = find_step_triggers(
804
815
  step_path, step)
@@ -808,12 +819,6 @@ class Composite(Process):
808
819
 
809
820
  self.steps_run = set([])
810
821
 
811
- self.front: Dict = {
812
- path: empty_front(self.state['global_time'])
813
- for path in self.process_paths}
814
-
815
- self.bridge_updates = []
816
-
817
822
  self.step_dependencies, self.node_dependencies = build_step_network(
818
823
  self.step_paths)
819
824
 
@@ -822,8 +827,6 @@ class Composite(Process):
822
827
 
823
828
  self.to_run = self.cycle_step_state()
824
829
 
825
- # self.run_steps(self.to_run)
826
-
827
830
  def serialize_state(self):
828
831
  return self.core.serialize(
829
832
  self.composition,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: process-bigraph
3
- Version: 0.0.24
3
+ Version: 0.0.25
4
4
  Summary: UNKNOWN
5
5
  Home-page: https://github.com/vivarium-collective/process-bigraph
6
6
  Author: Ryan Spangler, Eran Agmon
@@ -2,7 +2,7 @@ import re
2
2
  from setuptools import setup, find_packages
3
3
 
4
4
 
5
- VERSION = '0.0.24'
5
+ VERSION = '0.0.25'
6
6
 
7
7
 
8
8
  with open("README.md", "r") as readme: