Skip to content
Snippets Groups Projects
Commit 70c22175 authored by Alexis GAMELIN's avatar Alexis GAMELIN
Browse files

Add a test suite and fix some bugs.

Code modifications:

* [Fix] adts in TransverseMapSector
* ComplexData.name_and_coefficients_table is now a staticmethod.
* Extend WakeField to "mixed" componenets (xydip, yxdip, ...).
* Small fix/improvements for rf.py (CavityResonator for n_bin=1)
* [Fix] WakePotential.check_sampling method.
* [Fix] Sweep.plot method.
* Add Element.track_bunch_if_non_empty decorator.
* Modify Bunch.binning to add a return_full_length optional parameter.
* Modify Mpi.share_distributions for n_bin=1.
* Modify TransverseSpaceCharge to work with track_alive = True.
* Modify WakePotential for n_bin=1 and use track_bunch_if_non_empty decorator.
* [Fix] IntrabeamScattering for nonuniform fills with Beam.mpi_switch == False
* Modify PhysicalModel to return errors if needed.
* Update BeamIonElement

Project management:

* Update pyproject.toml and poetry.lock with pytest-mock
* Add assert_attr_changed test function.
parent e27fb231
No related branches found
No related tags found
2 merge requests!280.8.0,!21Add test suite
Showing
with 1006 additions and 986 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment