Skip to content

ENH: Add bytestring serialization to CIFTI-2 #938

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

Merged
merged 2 commits into from
Jul 22, 2020

Conversation

effigies
Copy link
Member

CIFTI-2 is serializable, so might as well add it in. This required making Cifti2Header comparable, and fixing a small bug where each attempt to save or serialize a CIFTI-2 image adds a Cifti2Extension without clearing out old ones.

@mgxd Would you mind reviewing this one?

@effigies effigies added this to the 3.2.0 milestone Jul 21, 2020
@codecov
Copy link

codecov bot commented Jul 21, 2020

Codecov Report

Merging #938 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #938   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files          97       97           
  Lines       12423    12427    +4     
  Branches     2190     2191    +1     
=======================================
+ Hits        11410    11414    +4     
  Misses        678      678           
  Partials      335      335           
Impacted Files Coverage Δ
nibabel/cifti2/cifti2.py 96.69% <100.00%> (+0.02%) ⬆️

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 6547fbe...8d664a6. Read the comment docs.

Copy link
Member

@mgxd mgxd left a comment

Choose a reason for hiding this comment

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

LGTM

@effigies
Copy link
Member Author

Thanks for the review.

@effigies effigies merged commit 516434c into nipy:master Jul 22, 2020
@effigies effigies deleted the enh/serialize_cifti2 branch October 16, 2020 14:52
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