Skip to content

Commit

Permalink
updated db
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Dec 2, 2023
1 parent d9a8918 commit 647117f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions process_bigraph/experiments/smoldyn_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)



0 comments on commit 647117f

Please sign in to comment.