Skip to content

added check for baseline stream in for live line plotting#164

Open
whs92 wants to merge 1 commit intobluesky:masterfrom
hz-b:baseline
Open

added check for baseline stream in for live line plotting#164
whs92 wants to merge 1 commit intobluesky:masterfrom
hz-b:baseline

Conversation

@whs92
Copy link
Copy Markdown
Member

@whs92 whs92 commented Nov 8, 2021

Description

The only change I have made is to add an if statement which checks whether the stream that is to be plotted has name baseline if it does, no new plot is made.

Motivation and Context

Aiming to solve problem where if a run is performed which contains baseline and primary (and maybe other plans) we don't really want to plot the baseline measurement. This can contain a lot of readings (=lines) that we don't really want to see in the plot

image

How Has This Been Tested?

I have only tested this by loading the widget using Jupyter and creating a run which has baseline and primary streams. I initially attempted to create a test in the pytests file but found that I couldn't use the build_simple_run function which was used in those tests because it only has one stream. The RunBuilder() would work, but I couldn't work out how to add incremeneting scan_id

@danielballan danielballan requested review from AbbyGi and dmgav November 8, 2021 16:45
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