TUFLOW-Support / QGIS-TUFLOW-Plugin

TUFLOW related QGIS Plugins
9 stars 7 forks source link

Error where square brackets are used #21

Closed anthony-cooper closed 3 years ago

anthony-cooper commented 3 years ago

Where square brackets are used in the file/tlf name (eg Model[EVENT][SCENARIO]_001 ) results viewer fails to pick up the the results in the tpc

TUFLOW-Support commented 3 years ago

Hi, thank you for letting us know and for looking into the issue. I think it used to be done via standard split however was changed to a regex split (I image in response to a previous issue). So instead I have used re.escape() to escape special characters. I have also searched through the rest of the code to do the same thing where required. Thanks again.