Skip to content

Commit

Permalink
Update store-analysis-results.rst
Browse files Browse the repository at this point in the history
Fix: replaced import bluesky_live.run_builder import 'module_name' with from bluesky_live.run_builder import 'module_name'. Because repeated import statements causes syntax error
  • Loading branch information
subindevs authored Sep 11, 2023
1 parent 99cdbae commit ec13c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/how-to/store-analysis-results.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ analysis results, we have to do some of that works ourselves.

.. code:: python
import bluesky_live.run_builder import build_simple_run
from bluesky_live.run_builder import build_simple_run
run = buiLd_simple_run({'x': [1, 2, 3], 'y': [4, 5, 6]}, metadata={'sample': 'Cu'})
Expand All @@ -43,7 +43,7 @@ analysis results, we have to do some of that works ourselves.

.. code:: python
import bluesky_live.run_builder import RunBuilder
from bluesky_live.run_builder import RunBuilder
with RunBuilder(metadata={'sample': 'Cu'}) as builder:
builder.add_stream("primary", data={'x': [1, 2, 3], 'y': [10, 20, 30]})
Expand Down

0 comments on commit ec13c12

Please sign in to comment.