Skip to content

Fix/pytket_worker#211

Merged
philipp-seitz merged 8 commits into
mainfrom
fix/pytket_worker
Sep 30, 2025
Merged

Fix/pytket_worker#211
philipp-seitz merged 8 commits into
mainfrom
fix/pytket_worker

Conversation

@philipp-seitz
Copy link
Copy Markdown
Collaborator

@philipp-seitz philipp-seitz commented Sep 25, 2025

Some QOL/fixes to interact better with the pytket worker

@philipp-seitz philipp-seitz requested a review from mwpb September 25, 2025 04:30
@philipp-seitz
Copy link
Copy Markdown
Collaborator Author

@mwpb should we care about the qir build issues here?

@philipp-seitz philipp-seitz marked this pull request as ready for review September 30, 2025 12:11
Copy link
Copy Markdown
Collaborator

@mwpb mwpb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, though I had some small questions.

self.logs_path = workflow_dir / "logs"
self.errors_path = workflow_dir / "logs"
self.workflow_dir = workflow_dir
self.timeout = timeout
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still required now that we background the command?

try:
from pytket.qir.conversion.api import pytket_to_qir
except ModuleNotFoundError:
raise TierkreisError("Could not resolve pytket.qir")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... do we specifically handle TierkreisError somewhere? If not then I wonder how much information this error message is adding?

@philipp-seitz philipp-seitz merged commit 4351cf3 into main Sep 30, 2025
10 checks passed
@philipp-seitz philipp-seitz deleted the fix/pytket_worker branch September 30, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants