People-Places-Solutions/floodmodeller-api

Investigate unit label updates in `DAT` class

Open

#152 opened on Jan 8, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (23 forks)auto 404
buggood first issue

Repository metrics

Stars
 (42 stars)
PR merge metrics
 (PR metrics pending)

Description

The _update_unit_names method in the DAT class needs a more thorough check for whether a unit is one in the ICs, when updating labels in the ICs. For instance, culvert inlet and river section may have the same label, but only the river section label should update in the ICs.

Contributor guide