nasa / gunns

The NASA General-Use Nodal Network Solver (GUNNS) software
Other
46 stars 12 forks source link

GunnsDraw code cleanup #81

Open jasonlharvey opened 1 year ago

jasonlharvey commented 1 year ago

The GunnsDraw python scripts are still mostly in their original, hastily-written prototype script form, and need a lot of cleanup. We need to clean up & comment the code, handle all the missing to-do items, and refactor it to a more object-oriented design (about the only thing that is OO now is the output file generation templates, so keep them). This will help it be more maintainable in the future. Regression tests from #80 should be used during this to ensure no breakage as we go. This cleanup might require some upgrades to the tests, that's fine. Otherwise the outputs of the refactored code and console should be identical to before.