Optimise gather_vars() methods (mainly or entirely in figures_analysis.py) to loop through self.vars rather than explicitly writing each variable out - this is just tidier and makes it easier to add new variables. Simlarly close_window() methods can do the same. Examples:
gather_vars()
for key in self.vars:
self.pyplis_worker.config[key] = getattr(self, key)
close_window()
for key in self.vars.keys():
setattr(self, key, self.pyplis_worker.config[key])
Optimise
gather_vars()
methods (mainly or entirely infigures_analysis.py
) to loop throughself.vars
rather than explicitly writing each variable out - this is just tidier and makes it easier to add new variables. Simlarlyclose_window()
methods can do the same. Examples:gather_vars()
close_window()