mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug incomplete database
This commit is contained in:
1 parent
2d3747b3d3
commit
8c697a9621
3 files changed
+15
-4
No files matched your search
@@ -106,8 +106,13 @@ class BoundaryConditionAdisTS(SQLSubModel):
|
||||
|
||||
bc.node = None
|
||||
if row[3] != -1:
|
||||
bc.node = next(filter(
|
||||
lambda n: n.id == row[3], data["nodes"])).id
|
||||
tmp = next(filter(
|
||||
lambda n: n.id == row[3], data["nodes"]),
|
||||
None)
|
||||
if tmp != None:
|
||||
bc.node = tmp.id
|
||||
else:
|
||||
bc.node = -1
|
||||
|
||||
values = execute(
|
||||
"SELECT data0, data1 FROM " +
|
||||
|
||||
Reference in new issue
Block a user