-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Treat sinks in ENHD more robustly [skip ci]
``enhd_flowlines_nx`` function now replaces all 0 values in the ``tocomid`` column of ENHD with the negative of their corresponding ``comid`` values. This ensures all sinks are unique and treated accordingly for topological sorting and other network analysis. The difference are in the returned ``label2comid`` dictionary and ``onnetwork_sorted`` which will contain the negative values for the sinks.
- Loading branch information
Taher Chegini
committed
Jan 23, 2024
1 parent
da4f9ed
commit 274cfd3
Showing
1 changed file
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters