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

eval-free reconstructed types #476

Merged
merged 11 commits into from
Jul 26, 2023
Merged

eval-free reconstructed types #476

merged 11 commits into from
Jul 26, 2023

Conversation

JonasIsensee
Copy link
Collaborator

@JonasIsensee JonasIsensee commented Jul 21, 2023

closes #298
closes #37

@codecov
Copy link

codecov bot commented Jul 23, 2023

Codecov Report

Patch coverage: 11.33% and project coverage change: -8.92% ⚠️

Comparison is base (d5b7b1c) 86.06% compared to head (b3a2572) 77.14%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #476      +/-   ##
==========================================
- Coverage   86.06%   77.14%   -8.92%     
==========================================
  Files          31       32       +1     
  Lines        4169     4700     +531     
==========================================
+ Hits         3588     3626      +38     
- Misses        581     1074     +493     
Files Changed Coverage Δ
src/data/type_defs.jl 100.00% <ø> (ø)
src/metadataview.jl 0.00% <0.00%> (ø)
src/datasets.jl 91.36% <50.00%> (ø)
src/data/reconstructing_datatypes.jl 80.79% <59.81%> (-1.05%) ⬇️
src/backwards_compatibility.jl 36.63% <100.00%> (ø)
src/data/writing_datatypes.jl 96.55% <100.00%> (ø)

... and 2 files with indirect coverage changes

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

Copy link

@edls-group edls-group left a comment

Choose a reason for hiding this comment

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

seems to work for me
(also sorry I'm using the wrong account)

fields::Vector{Any}
end

function Base.getproperty(rc::ReconstructedMutable{N,FN,FT}, s::Symbol) where {N,FN,FT}

Choose a reason for hiding this comment

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

you'll have to overwrite propertynames as well, else it defaults to using the field names (which are not accessible here)

@JonasIsensee JonasIsensee merged commit 6e36daa into master Jul 26, 2023
12 of 15 checks passed
@giordano giordano deleted the newreconstruction branch September 20, 2023 13:31
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.

DataType as tuple field Tuple-of-type-of-closure cannot be reloaded
2 participants