Skip to content

Commit

Permalink
Remove option of None in get_update_deltap_script
Browse files Browse the repository at this point in the history
  • Loading branch information
jgray-19 committed Oct 31, 2024
1 parent f677fcd commit 485944e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omc3/model/accelerators/accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def get_base_madx_script(self, best_knowledge=False):
"""
raise NotImplementedError("A function should have been overwritten, check stack trace.")

def get_update_deltap_script(self, deltap: float | str | None) -> str:
def get_update_deltap_script(self, deltap: float | str) -> str:
"""
Returns job (string) to change the magnets for a given deltap (dpp).
i.e. updating the orbit and matching the tunes.
Expand Down

0 comments on commit 485944e

Please sign in to comment.