process-bigraph 0.0.33__tar.gz → 0.0.34__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.33/process_bigraph.egg-info → process-bigraph-0.0.34}/PKG-INFO +6 -1
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/emitter.py +9 -3
- {process-bigraph-0.0.33 → process-bigraph-0.0.34/process_bigraph.egg-info}/PKG-INFO +6 -1
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/setup.py +1 -1
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/AUTHORS.md +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/LICENSE +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/README.md +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/__init__.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/composite.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/experiments/__init__.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/experiments/minimal_gillespie.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/process_types.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/processes/__init__.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/processes/growth_division.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/processes/parameter_scan.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/protocols.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/tests.py +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph.egg-info/SOURCES.txt +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph.egg-info/dependency_links.txt +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph.egg-info/requires.txt +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph.egg-info/top_level.txt +0 -0
- {process-bigraph-0.0.33 → process-bigraph-0.0.34}/setup.cfg +0 -0
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: process-bigraph
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.34
|
|
4
|
+
Summary: UNKNOWN
|
|
4
5
|
Home-page: https://github.com/vivarium-collective/process-bigraph
|
|
5
6
|
Author: Ryan Spangler, Eran Agmon
|
|
6
7
|
Author-email: ryan.spangler@gmail.com, agmon.eran@gmail.com
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Platform: UNKNOWN
|
|
7
10
|
Classifier: Development Status :: 3 - Alpha
|
|
8
11
|
Classifier: Intended Audience :: Developers
|
|
9
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -70,3 +73,5 @@ diagraph of a whole-cell E. coli model.
|
|
|
70
73
|
## License
|
|
71
74
|
|
|
72
75
|
Bigraph-schema is open-source software released under the [Apache 2 License](https://github.com/vivarium-collective/process-bigraph/blob/main/LICENSE).
|
|
76
|
+
|
|
77
|
+
|
|
@@ -234,19 +234,25 @@ class RAMEmitter(Emitter):
|
|
|
234
234
|
|
|
235
235
|
return {}
|
|
236
236
|
|
|
237
|
-
def query(self, query=None):
|
|
237
|
+
def query(self, query=None, schema=None):
|
|
238
238
|
"""
|
|
239
239
|
Query the history of the emitter.
|
|
240
240
|
:param query: a list of paths to query from the history. If None, the entire history is returned.
|
|
241
241
|
:return: results of the query in a list
|
|
242
242
|
"""
|
|
243
|
+
schema = schema or self.inputs()
|
|
243
244
|
if isinstance(query, list):
|
|
244
245
|
results = []
|
|
245
246
|
for t in self.history:
|
|
246
247
|
result = {}
|
|
247
248
|
for path in query:
|
|
248
|
-
|
|
249
|
-
|
|
249
|
+
_, state = self.core.slice(
|
|
250
|
+
schema=schema,
|
|
251
|
+
state=t,
|
|
252
|
+
path=path)
|
|
253
|
+
|
|
254
|
+
# element = get_path(t, path)
|
|
255
|
+
result = set_path(result, path, state)
|
|
250
256
|
results.append(result)
|
|
251
257
|
# element = get_path(self.history, path)
|
|
252
258
|
# result = set_path(result, path, element)
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: process-bigraph
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.34
|
|
4
|
+
Summary: UNKNOWN
|
|
4
5
|
Home-page: https://github.com/vivarium-collective/process-bigraph
|
|
5
6
|
Author: Ryan Spangler, Eran Agmon
|
|
6
7
|
Author-email: ryan.spangler@gmail.com, agmon.eran@gmail.com
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Platform: UNKNOWN
|
|
7
10
|
Classifier: Development Status :: 3 - Alpha
|
|
8
11
|
Classifier: Intended Audience :: Developers
|
|
9
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -70,3 +73,5 @@ diagraph of a whole-cell E. coli model.
|
|
|
70
73
|
## License
|
|
71
74
|
|
|
72
75
|
Bigraph-schema is open-source software released under the [Apache 2 License](https://github.com/vivarium-collective/process-bigraph/blob/main/LICENSE).
|
|
76
|
+
|
|
77
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/experiments/minimal_gillespie.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/processes/growth_division.py
RENAMED
|
File without changes
|
{process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph/processes/parameter_scan.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{process-bigraph-0.0.33 → process-bigraph-0.0.34}/process_bigraph.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|