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

Small change

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