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

feat: move getiftversion-to-__init__ #57

Merged
merged 3 commits into from
Aug 18, 2023

Conversation

cpaniaguam
Copy link
Member

No description provided.

@cpaniaguam cpaniaguam self-assigned this Aug 18, 2023
@cpaniaguam cpaniaguam linked an issue Aug 18, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Aug 18, 2023

Codecov Report

Patch coverage: 69.56% and project coverage change: +0.21% 🎉

Comparison is base (2b3d215) 77.04% compared to head (081972c) 77.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   77.04%   77.25%   +0.21%     
==========================================
  Files           8        8              
  Lines         318      321       +3     
==========================================
+ Hits          245      248       +3     
  Misses         73       73              
Files Changed Coverage Δ
src/IFTPipeline.jl 68.18% <66.66%> (-31.82%) ⬇️
src/h5.jl 97.22% <100.00%> (+7.22%) ⬆️

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

@tdivoll tdivoll added the bug Something isn't working label Aug 18, 2023
Copy link
Collaborator

@tdivoll tdivoll 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 good to me and fixes the problem of Julia st writing to disk inside a read-only container to find the IFT package version.

src/h5.jl Outdated
@@ -125,7 +100,7 @@ The `index` group contains the spatial coordinates in the source image coordinat
function makeh5files(; pathtosampleimg::String, resdir::String)
latlondata = getlatlon(pathtosampleimg)

iftversion = getiftversion()
iftversion = iftversion[1]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was wondering if this would work, and looks like it does!

Copy link
Member Author

Choose a reason for hiding this comment

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

Ended up changing that!

@cpaniaguam cpaniaguam merged commit 3944c54 into main Aug 18, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

move getiftversion to __init__
2 participants