Skip to content
Snippets Groups Projects
Commit a9eb04cb authored by Markus Holzer's avatar Markus Holzer
Browse files

Small change

parent ef93e7b4
No related merge requests found
Pipeline #37245 failed with stages
in 26 minutes and 27 seconds
...@@ -143,9 +143,10 @@ class Scenario: ...@@ -143,9 +143,10 @@ class Scenario:
'galilei_number': self.galilei_number, 'galilei_number': self.galilei_number,
} }
result.update(self.parameters) result.update(self.parameters)
table_name = f'data_Bo_{int(self.bond_number)}_Ga_{int(self.galilei_number)}_D_{int(self.bubbleRadius * 2)}'
try: try:
wlbSqlite.checkAndUpdateSchema(result, 'data', self.dbFile) wlbSqlite.checkAndUpdateSchema(result, table_name, self.dbFile)
wlbSqlite.storeSingle(result, 'data', self.dbFile) wlbSqlite.storeSingle(result, table_name, self.dbFile)
except Exception as e: except Exception as e:
wlb.log_warning("Failed to store run in database " + str(e) + "\n" + str(result)) wlb.log_warning("Failed to store run in database " + str(e) + "\n" + str(result))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment