From e341819beb9b44eba0b734397c02777e8131f9b4 Mon Sep 17 00:00:00 2001 From: "Joran R. Angevaare" Date: Fri, 4 Mar 2022 13:03:27 +0100 Subject: [PATCH] fix ref to PR in docs (#957) * fix ref to PR in docs * Update online_monitor.rst --- docs/source/build_release_notes.py | 2 +- docs/source/online_monitor.rst | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/build_release_notes.py b/docs/source/build_release_notes.py index f926ed0b8..8a524798a 100644 --- a/docs/source/build_release_notes.py +++ b/docs/source/build_release_notes.py @@ -29,7 +29,7 @@ def convert_release_notes(): pr_number = pr_number[:-1] if pr_number: line = line.replace(f'#{pr_number}', - f'`#{pr_number} `_' + f'`#{pr_number} `_' ) with_ref += line + '\n' target = os.path.join(this_dir, 'reference', 'release_notes.rst') diff --git a/docs/source/online_monitor.rst b/docs/source/online_monitor.rst index 5563e7541..a1f6db1a5 100644 --- a/docs/source/online_monitor.rst +++ b/docs/source/online_monitor.rst @@ -17,7 +17,7 @@ and start developing live-displays! .. code-block:: python import straxen - st = straxen.contexts.xenonnt_online(_add_online_monitor_frontend=True) + st = straxen.contexts.xenonnt_online(include_online_monitor=True) # Allow unfinished runs to be loaded, even before the DAQ has finished processing this run! st.set_context_config({'allow_incomplete': True}) @@ -65,6 +65,8 @@ At the time of writing, these were: - ``online_peak_monitor`` - ``event_basics`` - ``veto_regions`` + - ``online_monitor_nv`` + - ``online_monitor_mv`` For the most up-to-date information, one can check the registration in the ``straxen.contexts.xenonnt_online`` context: @@ -84,7 +86,7 @@ a few bigger files which makes it much faster to load next time. .. code-block:: python import straxen - st = straxen.contexts.xenonnt_online(_add_online_monitor_frontend=True) + st = straxen.contexts.xenonnt_online(include_online_monitor=True) st.copy_to_frontend(latest_run_id, 'event_basics', rechunk=True) One can look now where this run is stored: