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

[BUG] - Analyze_recipe in simulator not working #58

Open
2 tasks
GlaserN opened this issue Nov 30, 2023 · 0 comments
Open
2 tasks

[BUG] - Analyze_recipe in simulator not working #58

GlaserN opened this issue Nov 30, 2023 · 0 comments
Labels
jira Sync the issue to ZI LabOneQ internal issue tracker.

Comments

@GlaserN
Copy link

GlaserN commented Nov 30, 2023

Describe the bug
Running the interactive_psv simulation based on the attached compiled_experiment results in a key_error, with the following Stack trace:

  File "C:\Users\\miniconda3\envs\wmiqconly\lib\site-packages\laboneq\pulse_sheet_viewer\pulse_sheet_viewer.py", line 37, in interactive_psv
    simulation = OutputSimulator(compiled_experiment)
  File "C:\Users\\miniconda3\envs\wmiqconly\lib\site-packages\laboneq\simulator\output_simulator.py", line 165, in __init__
    self._simulations = simulate(
  File "C:\Users\\miniconda3\envs\wmiqconly\lib\site-packages\laboneq\simulator\seqc_parser.py", line 1205, in simulate
    seqc_descriptors, waves = _analyze_compiled(compiled)
  File "C:\Users\\miniconda3\envs\wmiqconly\lib\site-packages\laboneq\simulator\seqc_parser.py", line 1189, in _analyze_compiled
    seqc_descriptors = analyze_recipe(
  File "C:\Users\\miniconda3\envs\wmiqconly\lib\site-packages\laboneq\simulator\seqc_parser.py", line 1104, in analyze_recipe
    seqc_descriptor = seqc_descriptors_from_recipe[name]
KeyError: 'seq_AWG1_0_[0,1].seqc'

To Reproduce
Use the interactive_psv with
failed_simulation.json

Versions used:

  • laboneq: 2.17, 2.20
  • zhinst-core
  • others

Context

  • Do you know a workaround for the issue? If yes, please provide a short description.
  • Does the issue block your experiments?
@QuantumClemens QuantumClemens added the jira Sync the issue to ZI LabOneQ internal issue tracker. label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira Sync the issue to ZI LabOneQ internal issue tracker.
Projects
None yet
Development

No branches or pull requests

2 participants