Skip to content

v0.9.5

Choose a tag to compare

@francois-drielsma francois-drielsma released this 01 Feb 21:57
· 648 commits to main since this release

Added

  • String-based config loading: load_config() now accepts YAML strings in addition to file paths
    • Enables dynamic config generation in notebooks and scripts
    • load_config_file() added for explicit file loading
    • Maintains full support for includes and SPINE_CONFIG_PATH resolution

Changed

  • Config module refactoring: Split large loader.py into focused modules for maintainability
    • operations.py: Utility functions (deep_merge, parse_value, apply_collection_operation, etc.)
    • loader.py: ConfigLoader class and YAML tag registration
    • load.py: Main loading functions (load_config, load_config_file, _load_config_recursive)
  • Exception handling: More specific exception catching in download validation (OSError, IOError, ValueError instead of broad Exception)

Fixed

  • Flash parsing issue when num_detectors != num_channels (multiple readout channels per physical detector)
  • ARI computation bug when the number elements to cluster is exactly 1

Full Changelog: v0.9.4...v0.9.5