Closed rpachaly closed 1 month ago
I don't think that we'll have any merging issues because it is brand new code and just a few adaptations. I'll be working on this code to finish the testing modules. After that, we can merge it if you agree with the new code and the testing is done.
Now it is ready for testing. I did a lot of improvements on the testing. So the SD testing on github is working.
I ran through the import inp many times with no issues. I also did the storm drain from shapefile with no issues. I think it will be OK.
@FLO-2DKaren Hi Karen, I've finished the refactoring of importing SWMM INP. Here are some key points:
Pros:
Cons:
Honestly, I trust more this code than the old one. However, I coded this in a way that we can use the old code without any issues. The export code I did not change and I think it is okay, no need to change it.
It is on https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/tree/import-swmminp-refactor