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: make sure declared but empty streams report 0 length #1593

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

Conversation

tacaswell
Copy link
Contributor

Description

If the stream is declared (via pre-declare) but never populated report that it has 0 events in the stop documents (rather than just memory-holing it and not including an entry).

Motivation and Context

If there is a descriptor doc it should show up in the list of streams in the stop document.

How Has This Been Tested?

Added test (and manually tested).

@coretl
Copy link
Collaborator

coretl commented Jul 26, 2023

Can this be closed when #1579 is merged? It has the same effects on the tests:
https://github.com/bluesky/bluesky/pull/1579/files#diff-a1803e5fd63150c94a4de264f4373c56e398446dfc495d9b3d27bac36dc88afcL1595

@tacaswell
Copy link
Contributor Author

Yes, I think that this will be made redunedent by #1579

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.

None yet

2 participants