Skip to content

Commit

Permalink
Merge pull request #148 from lsst-ts/tickets/DM-46458
Browse files Browse the repository at this point in the history
Tickets/dm 46458: Support Summit Observing Weeks 39-40 of 2024
  • Loading branch information
edennihy authored Oct 7, 2024
2 parents 0e38143 + 63dcd96 commit e5d199b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/news/DM-46458.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update BaseMakeCalibrations.callpipetask to remove a call to ack.print_vars.
5 changes: 3 additions & 2 deletions python/lsst/ts/externalscripts/base_make_calibrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,6 @@ async def call_pipetask(self, image_type):
f"Received acknowledgement of ocps command for {image_type} pipetask."
)

ack.print_vars()
job_id = json.loads(ack.result)["job_id"]

# Wait for the command completion acknowledgement.
Expand All @@ -783,7 +782,9 @@ async def call_pipetask(self, image_type):
f"Received command completion acknowledgement from ocps for {image_type}."
)
if ack.ack != salobj.SalRetCode.CMD_COMPLETE:
ack.print_vars()
self.log.debug(
f"OCPS job not complete, received {ack}. Continuing to wait for job result."
)
# Wait for the job result message that matches the job id we're
# interested in ignoring any others (from other remotes).
# This needs to follow the first acknowledgement
Expand Down

0 comments on commit e5d199b

Please sign in to comment.