From dfdf2c2abe32c262c41b5251adf8bf3fde61d588 Mon Sep 17 00:00:00 2001 From: Alessandra Trapani Date: Thu, 16 May 2024 11:36:55 +0200 Subject: [PATCH] update CHANGELOG and docstring --- CHANGELOG.md | 1 + .../extractors/tiffimagingextractors/scanimagetiff_utils.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e62a546..b2421d71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Add InscopixImagingExtractor [#276](https://github.com/catalystneuro/roiextractors/pull/276) * Updated testing workflows to include python 3.12, m1/intel macos, and dev tests to check neuroconv: [PR #317](https://github.com/catalystneuro/roiextractors/pull/317) +* Updated `parse_metadata()` from `scaimagetiff_utils` to include `scan_line_rate`, `grid_spacing`, `grid_spacing_unit`,`origin_coords`, `origin_coords_unit` ### Fixes diff --git a/src/roiextractors/extractors/tiffimagingextractors/scanimagetiff_utils.py b/src/roiextractors/extractors/tiffimagingextractors/scanimagetiff_utils.py index b27f7cc2..2bfdb8d9 100644 --- a/src/roiextractors/extractors/tiffimagingextractors/scanimagetiff_utils.py +++ b/src/roiextractors/extractors/tiffimagingextractors/scanimagetiff_utils.py @@ -95,6 +95,12 @@ def parse_metadata(metadata: dict) -> dict: - frames_per_slice - channel_names - num_channels + - scan_line_rate, + - grid_spacing, + - grid_spacing_unit, + - origin_coords, + - origin_coords_unit, + - roi_metadata, Parameters ----------