within all components replace sim_params by self.sim_params
remove sim_params as additional parameter of update functions
incorporate remark from PR #209
make flake happy
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
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