Skip to content

Commit

Permalink
Small fix on condition to validate target
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanmartim committed Dec 11, 2023
1 parent 452e25f commit 4588d6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/ts/observatory/control/base_tcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,12 +922,13 @@ async def slew_ephem_target(
f"Validation failed for target {targetName}: Target is not "
f"observable."
)
else:
self.log.info(
f"Validation successful for target {targetName}. "
f"Az: {validated_target.az}, El: {validated_target.el}, "
f"Rot: {validated_target.rot}"
)
else:

await ptg.cmd_ephemTarget.set_start(
ephemFile=ephemFile,
targetName=targetName,
Expand Down

0 comments on commit 4588d6c

Please sign in to comment.