Skip to content

Commit

Permalink
Fix leftover break in auto-pilot command
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed May 29, 2024
1 parent 603f583 commit fe857fe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 1.2.2 - May 28th, 2024

### 🔧 Fixed

* Remove leftover `break` that would cause the auto-pilot to exist after one iteration.


## 1.2.1 - May 28th, 2024

### 🔧 Fixed
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdss-hal"
version = "1.2.2a0"
version = "1.2.2"
description = "High-level observing tool for SDSS-V (replaces SOP)"
authors = ["José Sánchez-Gallego <[email protected]>"]
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion src/hal/actor/commands/auto_pilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async def auto_pilot(
break

await asyncio.sleep(0.1)
break

if macro.cancelled:
# Cancelled macros return result=True
break
Expand Down

0 comments on commit fe857fe

Please sign in to comment.