Skip to content

Commit

Permalink
Do not show PROCESSING status after processing completes
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 28, 2024
1 parent 5e8dd80 commit 1f0857d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

* Improve stopping the guider when it is sleeping between exposures.

### 🔧 Fixed

* Do not show `PROCESSING` status after processing completes.

### ⚙️ Engineering

* Use `uv` for packaging and update workflows.
Expand Down
2 changes: 2 additions & 0 deletions src/lvmguider/guider.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ async def guide_one(
guider_solution.correction_applied = True

finally:
self.command.actor.status &= ~GuiderStatus.PROCESSING
self.command.actor.status &= ~GuiderStatus.CORRECTING

guider_solution.correction = [*applied_motax.tolist(), applied_rot]
Expand Down Expand Up @@ -436,6 +437,7 @@ async def solve_camera(

# Now match with Gaia.
if solution.solved:
# TODO: this should run in an executor.
matched_sources, _ = match_with_gaia(solution.wcs, sources, concat=True)
sources = matched_sources
matched = True
Expand Down

0 comments on commit 1f0857d

Please sign in to comment.