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

Fix LAST instrs logs #56

Merged
merged 2 commits into from
Jul 12, 2023
Merged

Fix LAST instrs logs #56

merged 2 commits into from
Jul 12, 2023

Conversation

bkreynen
Copy link
Contributor

@bkreynen bkreynen commented Jul 11, 2023

Closes issue #55

While debugging I found that the names of the last logs were not correct because the renaming of the logs and the copying to the LAST directory happened in two separate places (the first in NetQASM and the second one in SquidASM). Due to this they were executed in the wrong order and the logs were copied to LAST before they were renamed.

I moved these calls to NetQASM and also made a PR for SquidASM to remove the calls there (see PR: QuTech-Delft/squidasm#29). I chose to move them all to NetQASM instead of moving them all to SquidASM because it seems to me that this introduces the least breaking changes between different versions. With this method if you are running an older version of SquidASM then everything should still work fine since NetQASM will just overwrite the erroneous log files created by SquidASM.

If there are other reasons to prefer moving them to SquidASM instead I am also open for that as well but then we do need to keep in mind that this new version of SquidASM will no longer work with older versions of NetQASM and vice versa.

@bkreynen bkreynen requested a review from bvdvecht July 11, 2023 16:06
@bkreynen bkreynen marked this pull request as ready for review July 11, 2023 16:08
@bvdvecht
Copy link
Collaborator

Looks good to me! Merged.

@bvdvecht bvdvecht merged commit 5bb08ef into develop Jul 12, 2023
@bvdvecht bvdvecht deleted the fix/last-instrs-logs branch July 12, 2023 08:00
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