Skip to content

Use lyse.data()'s new n_sequences argument when possible #7

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zakv
Copy link
Collaborator

@zakv zakv commented Nov 11, 2020

After labscript-suite/lyse#76, lyse now supports an optional argument n_sequences. It allows for retrieving only a subset of the lyse dataframe, which can speed up execution time. This PR edits mloop_multishot.py to make use of that optional argument when an appropriate version of lyse is used.

The code reverts back to the previous behavior of requesting the entire dataframe without using n_sequences when an older version of lyse which does not support it is running.

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.

1 participant