Hi, the following error message continues to come up after I have tried to fix it. I believe it has to do with the outlet file I am providing; however, I have tried delineating without the outlet file as it says optional and the error still comes up. The file I am using has the RES, INLET, and PTSOURCE set to 0, and each outlet has its own ID. Am I missing a value that's needed and does anyone know how to solve this? Thank you!
2025-11-24T10:38:34 WARNING Traceback (most recent call last):
File "C:\Users/Ye Lab/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus\QSWATPlus\delineation.py", line 2348, in runExisting
if self._gv.topo.setUp0(demLayer, channelLayer, outletLayer, None, self._gv):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Ye Lab/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus\QSWATPlus\QSWATTopology.py", line 353, in setUp0
return self.saveOutletsAndSources(channelLayer, outletLayer, gv.streamFile, gv.useGridModel)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Ye Lab/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus\QSWATPlus\QSWATTopology.py", line 4453, in saveOutletsAndSources
chBasin = reach[self.wsnoIndex]
~~~~~^^^^^^^^^^^^^^^^
KeyError: '-1'