Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for heterogeneous files #156

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

chrstphrbrns
Copy link
Contributor

Fixes #139

@codecov-commenter
Copy link

codecov-commenter commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 86.11111% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 93.49%. Comparing base (3d2c838) to head (b6f3772).

Files Patch % Lines
src/load.jl 85.18% 4 Missing ⚠️
src/types/strided.jl 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
+ Coverage   93.48%   93.49%   +0.01%     
==========================================
  Files          13       13              
  Lines        1151     1169      +18     
==========================================
+ Hits         1076     1093      +17     
- Misses         75       76       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@tlnagy tlnagy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!

all(map(==(ncols(first(ifds))), ncols.(ifds))) &&
all(map(==(colortype(first(ifds))), colortype.(ifds)))
end

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this sufficient to determine homogeneity? I guess we can try with this and add more checks if they end up causing issues.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@tlnagy tlnagy merged commit b7dbc88 into tlnagy:master Apr 2, 2024
12 of 13 checks passed
@tlnagy
Copy link
Owner

tlnagy commented Apr 2, 2024

Awesome! Is there anything else you want to add to the release? I see that you bumped the version to 1.0, but I would like to fix #135 prior tagging v1.0 so I might make a new PR changing the release to v0.10.0

@chrstphrbrns
Copy link
Contributor Author

I have a PR for #100, but that may take some time to hash out

@chrstphrbrns chrstphrbrns deleted the chris/ragged branch April 2, 2024 20:38
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.

Files with inconsistent image slice sizes break loading
3 participants