From 647117f8c6cd0f6917c7dabb947512870d02ba87 Mon Sep 17 00:00:00 2001 From: alexPatrie Date: Fri, 1 Dec 2023 19:05:54 -0500 Subject: [PATCH] updated db --- process_bigraph/experiments/smoldyn_db.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/process_bigraph/experiments/smoldyn_db.py b/process_bigraph/experiments/smoldyn_db.py index 1d257e9..bc70cf9 100644 --- a/process_bigraph/experiments/smoldyn_db.py +++ b/process_bigraph/experiments/smoldyn_db.py @@ -11,10 +11,14 @@ sim.addCommand(cmd='executiontime time', cmd_type='E') sim.addCommand(cmd='listmols mols', cmd_type='E') sim.run(1, 1) + molecules = sim.getOutputData('mols') time = sim.getOutputData('time') emitter = DatabaseEmitter(config={'ports': {}, 'emit_limit': 9000000}) -print(molecules[0], time) -#data = emitter.format_data(table_id='minE_0', time=) +data = emitter.format_data(table_id='minE_0', time='1', mol_list=molecules) + +emitter.emit(data) + +