Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use nodes' app names for instruction logging #48

Conversation

platelminto
Copy link
Contributor

We revert to the logging behaviour seen in v0.5.5, where output logs for specific nodes' instructions should use the app name in the filename.

Example, for an app (role) named 'receiver' located in 'delft':
< v0.5.5 -> receiver_instrs.yaml
v0.6.0 - v0.12.2 -> delft_instrs.yaml
v0.13.0 (this PR) -> receiver_instrs.yaml

It was (likely) inadvertently changed to the node's location, rather than the app name, in v0.6.0. This mirrors the naming format of the {app_name}_class_comm.yaml files in the same logging directory.

This solution does what the old code used to do - simply re-write the files at the end of the simulation.

netqasm/runtime/cli.py Outdated Show resolved Hide resolved
@bvdvecht bvdvecht self-requested a review January 26, 2023 13:09
@platelminto platelminto force-pushed the feature/QNEBE-657/app-name-instruction-logs branch from 372310b to 010da40 Compare January 26, 2023 13:44
@platelminto platelminto merged commit 887c911 into QuTech-Delft:develop Jan 26, 2023
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