I’ve been using the toolkit to modify the network input files (adding pipes, nodes, etc) and it has been very helpful. However, after making some changes and saving the modified files (saveInputFile) I’ve noticed that the formatting/order of the columns in file changes. This doesn’t seem to make a difference until certain functions are used (removeNode, removeLink,…) and a string of errors appear (“Struct contents reference from a non-struct array object.”).
So far opening the saved modified file in EPANET and exporting the network file returns the columns to the initial format and prevents any further issues.
Has anyone experienced this as well or has any suggestions?
-File after saving changes