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

fix bug in sub #47

Merged
merged 1 commit into from
Mar 1, 2022
Merged

fix bug in sub #47

merged 1 commit into from
Mar 1, 2022

Conversation

guanyilun
Copy link
Collaborator

This PR addresses #42. I originally thought I can get away with simply changing axis, but this causes problem in field such as wcs.lin which stores a transformation matrix. A mismatch in naxis will result in overflow. Here I do it properly by using wcssub function in libwcs.

@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2022

Codecov Report

Merging #47 (72b5008) into main (77075bf) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   84.64%   84.70%   +0.05%     
==========================================
  Files           6        6              
  Lines         534      536       +2     
==========================================
+ Hits          452      454       +2     
  Misses         82       82              
Impacted Files Coverage Δ
src/Pixell.jl 100.00% <ø> (ø)
src/enmap.jl 74.56% <100.00%> (+0.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77075bf...72b5008. Read the comment docs.

@xzackli
Copy link
Collaborator

xzackli commented Mar 1, 2022

Looks good to me!

@guanyilun guanyilun merged commit 9f0915e into main Mar 1, 2022
@guanyilun guanyilun deleted the fix-sub branch March 1, 2022 14:07
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.

3 participants