-
Notifications
You must be signed in to change notification settings - Fork 25
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
update to bps.collect_while_completeing #536
base: main
Are you sure you want to change the base?
update to bps.collect_while_completeing #536
Conversation
565b629
to
cbe0434
Compare
@@ -16,7 +16,7 @@ dependencies = [ | |||
"numpy<2.0.0", | |||
"packaging", | |||
"pint", | |||
"bluesky>=1.13.0a3", | |||
"bluesky>=1.13.0a4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have change this to make sure that we are at version the hardware test was conducted
9703a49
to
5ddf953
Compare
5ddf953
to
923490c
Compare
923490c
to
db41573
Compare
db41573
to
be29b8e
Compare
def fly_and_collect( | ||
stream_name: str, | ||
flyer: StandardFlyer[SeqTableInfo] | StandardFlyer[PcompInfo], | ||
detectors: List[StandardDetector], | ||
flush_period: float = 0.5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be nice to
flush_period: float = 0.5, | |
flush_period: float = DEFAULT_FLUSH_PERIOD, |
) | ||
yield from bps.wait(group=group) | ||
done = yield from bps.wait(group=group, timeout=flush_period, move_on=True) | ||
yield from bps.collect(*detectors, name=stream_name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the removal of return_payload
intentional?
No description provided.