Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving the lattice settings functions #41

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Conversation

lmalina
Copy link
Owner

@lmalina lmalina commented Sep 26, 2023

Only the ones which handle errors
Destination: SimulatedCommissioning class

   only the ones which handle errors
   destination SimulatedCommissioning class
@simoneliuzzo
Copy link
Collaborator

All the changes highlighted by github look ok. However there may be not-changed location where change should have occurred.

by the way, looking at the code, now also all other calls to methods do_something(SC,...) look like they should become SC.do_something(...)

@simoneliuzzo
Copy link
Collaborator

I keep reviewing

@lmalina
Copy link
Owner Author

lmalina commented Sep 26, 2023

All the changes highlighted by github look ok. However there may be not-changed location where change should have occurred.

by the way, looking at the code, now also all other calls to methods do_something(SC,...) look like they should become SC.do_something(...)

Yes, some more functions could be included in the class. On the other hand, already like this, it is not exactly a small class.

@simoneliuzzo
Copy link
Collaborator

in bba.py there are some not correct get_cm_setpoints. I guess this is fixed within the bba branch.

@lmalina
Copy link
Owner Author

lmalina commented Sep 26, 2023

in bba.py there are some not correct get_cm_setpoints. I guess this is fixed within the bba branch.

Exactly, already done in fixing_bba branch.

@simoneliuzzo
Copy link
Collaborator

I used the pycharm feature "Find in Files" and I could not find any bad useage of:
set_cavity_setpoints

get_cm_setpoints

set_cm_setpoints

set_magnet_setpoints

_dipole_compensation

@lmalina lmalina merged commit 1c7e002 into master Sep 26, 2023
18 checks passed
@lmalina lmalina deleted the moving_lattice_settings branch September 26, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants