Skip to content

Commit

Permalink
Fix error level in PointLocationCheck for windshielding
Browse files Browse the repository at this point in the history
  • Loading branch information
margrietpalm committed Dec 19, 2024
1 parent 7edf9e7 commit 2ef9042
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions threedi_modelchecker/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,11 +1140,17 @@ def is_none_or_empty(col):
level=CheckLevel.WARNING,
max_distance=TOLERANCE_M,
error_code=206,
column=table.geom,
ref_column=table.channel_id,
column=models.CrossSectionLocation.geom,
ref_column=models.CrossSectionLocation.channel_id,
ref_table=models.Channel,
)
for table in [models.CrossSectionLocation, models.Windshielding]
),
PointLocationCheck(
max_distance=TOLERANCE_M,
error_code=206,
column=models.Windshielding.geom,
ref_column=models.Windshielding.channel_id,
ref_table=models.Channel,
),
]

CHECKS += [
Expand Down

0 comments on commit 2ef9042

Please sign in to comment.