Skip to content

Commit 3e475d2

Browse files
committed
review comments
1 parent bcccf7d commit 3e475d2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/dev/logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ logger = logging.getLogger(__name__)
77
logger.warning("Message to be logged")
88
```
99

10-
The logger utilizes a `TimedRotatingFileHandler` defined in {py:obj}`ibex_bluesky_core.log` that rolls over the log at midnight.
10+
The logger utilizes a {py:obj}`~logging.handlers.TimedRotatingFileHandler` that rolls over the log at midnight.
1111

1212
By default, the log files will be created in `c:\instrument\var\logs\bluesky`. This can be configured by setting
1313
the `IBEX_BLUESKY_CORE_LOGS` environment variable.

src/ibex_bluesky_core/callbacks/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __init__( # noqa: PLR0912, PLR0915
9898
over the exact set of callbacks to be used, individual callbacks may
9999
be more appropriate.
100100
101-
By default, the following callbacks are included:
101+
By default, the following callbacks are included and enabled:
102102
103103
- :py:obj:`ibex_bluesky_core.callbacks.HumanReadableFileCallback`
104104
@@ -301,7 +301,7 @@ def peak_stats(self) -> PeakStats:
301301

302302
@property
303303
def com(self) -> CentreOfMass:
304-
"""The centre of mass callback, containing ``ibex_bluesky_core``'s centre of mass."""
304+
"""The :py:obj:`~ibex_bluesky_core.callbacks.CentreOfMass` callback."""
305305
if self._com is None:
306306
raise ValueError("centre of mass was not added as a callback.")
307307
return self._com

src/ibex_bluesky_core/callbacks/_fitting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(
5050
This callback extends the functionality of :py:obj:`bluesky.callbacks.LiveFit` by adding:
5151
5252
- Support for weighting fits by uncertainties. The weights are passed through to the
53-
underlying :py:obj:`lmfit.model.Model.fit` routing as ``1/stddev``, if provided.
53+
underlying :py:obj:`lmfit.model.Model.fit` routine as ``1/stddev``, if provided.
5454
5555
- Support for dynamic fit guesses, as performed by the models defined in
5656
:py:obj:`ibex_bluesky_core.fitting`.

src/ibex_bluesky_core/plans/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Generic plans."""
1+
"""Core plans."""
22

33
from collections.abc import Generator
44
from typing import TYPE_CHECKING, Any

0 commit comments

Comments
 (0)