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

Fixes #4774. Schedule inserts needed for long sequences. #4789

Merged
merged 2 commits into from
Jul 23, 2020

Conversation

ehchen
Copy link
Contributor

@ehchen ehchen commented Jul 23, 2020

Summary

Pulse transforms need proper inserts to schedule so that longer sequences don't fail.

Details and comments

This addresses bug #4774, so no release note or docstrings were modified. No tests were included. I believe tests included in the PR for #4755 should have caught this error. I ran both tox -py38 and tox -elint successfully.Thanks to @nkanazawa1989 and @taalexander for identification and proposing the solution to the problem.Changelog: Bugfix Fixed

@ehchen ehchen requested review from DanPuzzuoli, eggerdj, nkanazawa1989 and a team as code owners July 23, 2020 14:37
@@ -110,13 +110,13 @@ def get_max_calibration_duration():
if time > align_time:
warnings.warn("You provided an align_time which is scheduling an acquire "
"sooner than it was scheduled for in the original Schedule.")
new_schedule |= inst << align_time
new_schedule(align_time, inst, inplace=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe we're missing the .insert here.

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