diff options
| author | Sam Scholten | 2025-10-23 15:58:09 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-23 15:58:09 +1000 |
| commit | d671e06c561337ca5a82fd9aa78a3cb089e90efc (patch) | |
| tree | bf09079bbaba95994fd6a63d76c81df9d7f30ad1 | |
| parent | d7ac57d46e56620ebeb71f27e4d5c1382f66f6c3 (diff) | |
| download | transivent-2.0.1.tar.gz transivent-2.0.1.zip | |
Fix: Add configure_logging back to public APIv2.0.1
The configure_logging function was accidentally removed from the public API
in __init__.py but was still being used in examples. This restores it to
maintain backward compatibility.
Fixes issue where examples would fail with ImportError.
| -rw-r--r-- | src/transivent/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transivent/__init__.py b/src/transivent/__init__.py index a858d8c..9cec6f6 100644 --- a/src/transivent/__init__.py +++ b/src/transivent/__init__.py @@ -13,7 +13,7 @@ For advanced usage, building blocks are available in submodules: - transivent.diffusion: Diffusion analysis tools (optional) """ -from .analysis import detect, detect_from_wfm +from .analysis import configure_logging, detect, detect_from_wfm from .event_detector import detect_events, merge_overlapping_events from .event_plotter import EventPlotter from .event_processor import extract_event_waveforms @@ -23,6 +23,8 @@ __all__ = [ # Main entry points "detect", "detect_from_wfm", + # Utilities + "configure_logging", # Building blocks "detect_events", "merge_overlapping_events", |
