Skip to content

Commit

Permalink
Typo: cleanup_on_interrrupt -> cleanup_on_interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jul 29, 2024
1 parent 5760318 commit fdead21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gort/gort.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ async def observe(
try:
result = await self.observe_tile(
run_cleanup=False,
cleanup_on_interrrupt=True,
cleanup_on_interrupt=True,
adjust_focus=adjust_focus,
show_progress=show_progress,
)
Expand Down Expand Up @@ -741,7 +741,7 @@ async def observe_tile(
show_progress: bool | None = None,
run_cleanup: bool = True,
adjust_focus: bool = True,
cleanup_on_interrrupt: bool = True,
cleanup_on_interrupt: bool = True,
):
"""Performs all the operations necessary to observe a tile.
Expand Down Expand Up @@ -789,7 +789,7 @@ async def observe_tile(
Adjusts the focuser positions based on temperature drift before
starting the observation. This works best if the focus has been
initially determined using a focus sweep.
cleanup_on_interrrupt
cleanup_on_interrupt
If ``True``, registers a signal handler to catch interrupts and
run the cleanup routine.
Expand Down Expand Up @@ -820,7 +820,7 @@ async def observe_tile(
dither_positions = tile.dither_positions
tile.set_dither_position(dither_positions[0])

if cleanup_on_interrrupt:
if cleanup_on_interrupt:
interrupt_cb = partial(self.run_script_sync, "cleanup")
else:
interrupt_cb = None
Expand Down

0 comments on commit fdead21

Please sign in to comment.