BC: Fix save.

scenarios
Pierre-Antoine Rouby 2024-08-20 13:51:57 +02:00
parent 84a5bed66d
commit af779a1880
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class Data(SQLSubModel):
data1 = self._db_format(str(self[1]))
bc = data["bc"]
execute = (
execute(
"INSERT INTO " +
"boundary_condition_data(pamhyr_id, ind, data0, data1, bc) " +
f"VALUES ({pid}, {ind}, '{data0}', {data1}, {bc._pamhyr_id})"