Skip to content

MACSIMA parse subfolders only when explicitly requested#379

Open
MSHelm wants to merge 2 commits intoscverse:mainfrom
MSHelm:feature/macsima_parse_subfolders_only_when_explicitly_requested
Open

MACSIMA parse subfolders only when explicitly requested#379
MSHelm wants to merge 2 commits intoscverse:mainfrom
MSHelm:feature/macsima_parse_subfolders_only_when_explicitly_requested

Conversation

@MSHelm
Copy link
Contributor

@MSHelm MSHelm commented Feb 27, 2026

This implements the proposed change of macsima parsing style options, described in #378

Remove auto parsing style option entirely.
By default, all tif files inside a folder and all its subdirectories are parsed into a single Image element inside a SpatialData object.
Only if the user specifically requests parsing subfolders, then the first level underneath the specified directory defines the image elements. All tifs in these directories, and subdirectores, will be parsed into separate image elements, with corresponding tables and coordinate systems.
@codecov-commenter
Copy link

codecov-commenter commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.59%. Comparing base (433014e) to head (861155a).

Files with missing lines Patch % Lines
src/spatialdata_io/readers/macsima.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
- Coverage   61.65%   61.59%   -0.07%     
==========================================
  Files          27       27              
  Lines        3161     3156       -5     
==========================================
- Hits         1949     1944       -5     
  Misses       1212     1212              
Files with missing lines Coverage Δ
src/spatialdata_io/readers/macsima.py 93.57% <0.00%> (-0.09%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants