Skip to content

Commit

Permalink
feat(webservices): Log completion of webservices jobs in the ChimeraX…
Browse files Browse the repository at this point in the history
… log

Fixes Trac#16721
  • Loading branch information
zjp committed Jan 30, 2025
1 parent aff6b2a commit b8e236a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bundles/webservices/src/cxservices_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@ def monitor(self, poll_freq_override: Optional[int] = None) -> None:
and self.end_time is None
):
self.end_time = datetime.datetime.now()
if self.session.ui.is_gui:
self.session.ui.thread_safe(
self.session.logger.info,
f"Webservices job finished: {self.job_id}"
)


def exited_normally(self) -> bool:
"""Return whether background process terminated normally."""
Expand Down

0 comments on commit b8e236a

Please sign in to comment.