lnls-fac / apsuite

Accelerator Physics suite
MIT License
1 stars 2 forks source link

DYNAP.BUG: Derive params class from ParamsBaseClass so save_data works #192

Closed murilobalves closed 2 years ago

murilobalves commented 2 years ago

The methods save_data() and load_and_apply() from apsuite.utils require that self.params must have a method to_dict() which did not exist in the params classes from dynamic aperture calculations. Deriving the params classes from ParamsBaseClass fix this bug.

anacso17 commented 2 years ago

Hi @murilobalves , I updated the package version for deploy!

murilobalves commented 2 years ago

Hi @murilobalves , I updated the package version for deploy!

thanks!