Skip to content

Commit 380f904

Browse files
committed
fix to rebuild lists of reported files when deactivating MCTRouting
1 parent d7aa160 commit 380f904

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lisflood/hydrological_modules/routing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,8 @@ def initialMCT(self):
558558
if self.var.IsChannelMCT.sum()==0:
559559
warnings.warn(LisfloodWarning('There are no MCT grid cell. MCT routing is deactivated'))
560560
option['MCTRouting'] = False
561+
# rebuild lists of reported files with MCTRouting = False
562+
settings.build_reportedmaps_dicts()
561563

562564
if option['MCTRouting']:
563565
maskinfo = MaskInfo.instance()

0 commit comments

Comments
 (0)