LDAR-Sim / LDAR_Sim

MIT License
11 stars 20 forks source link

[ENH] Breakdown bigger functions into smaller functions #238

Open SEAJang opened 2 months ago

SEAJang commented 2 months ago

Requested Feature/Enhancement

Break down the larger functions that are in multiple places but with a single line change into smaller functions.

Need for feature/Enhancement

Really easy areas for bugs to arise when one of the scripts gets updated, but the developer forgets the other identical functions.

Problem to solve

Reduce the potential for bugs to arise.

Implementation Ideas

No response

Additional context

Specific examples of where this occurs: LDAR_sim_run -> gets called by sensitivity analysis script, end to end testing scripts Deploy_crew function in method -> also called in component level method