rl-institut / smooth

Simulation framework for non-linear state-dependant energy systems
Other
6 stars 7 forks source link

Fix/redundant sim params (updated) #228

Closed j-ti closed 3 years ago

j-ti commented 3 years ago

This PR replaces former outdated PR #209

skript executed within component folder: for f in .py; do sed -i 's/sim_params/self.sim_params/g' $f; sed -i 's/self.self.sim_params/self.sim_params/g' $f; sed -i 's/param self.sim_params/param sim_params/g' $f; sed -i 's/type self.sim_params/type sim_params/g' $f; sed -i 's/, self.sim_params//g' $f; sed -i 's/self.sim_params,//g' $f; sed -i '/sim_params:/d' $f; done autopep8 -i --max-line-length 100 -a -a