Commit 75b34a0
authored
fix: fix duplicate unit numbers in NAM file for MFUSG external files (#2659)
When loading a model, DATA entries from the NAM file were being added
to external_units even when they already existed in output_units
(e.g., IUNITAFR from WEL package). This caused duplicate entries
in the written NAM file.
Added check for output_units in _prepare_external_files() to prevent
adding unit numbers that are already registered as output files.1 parent 5a94526 commit 75b34a0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
| 448 | + | |
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| |||
0 commit comments