mhe / pynrrd

Simple pure-python module for reading and writing nrrd files.
https://pynrrd.readthedocs.io/
MIT License
116 stars 51 forks source link

Account for 'data file' and 'datafile' in header when writing NRRD file #103

Closed addisonElliott closed 5 years ago

addisonElliott commented 5 years ago

Standardizes the output by replacing 'datafile' with 'data file'.

The NRRD spec seems to advocate for 'data file' over 'datafile'. There is a minor footnote mentioning that 'datafile' is allowed and 'data file' is used throughout their documentation.

Fixes #97

codecov-io commented 5 years ago

Codecov Report

Merging #103 into master will increase coverage by 0.26%. The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   99.47%   99.73%   +0.26%     
==========================================
  Files           6        6              
  Lines         381      383       +2     
  Branches      123      124       +1     
==========================================
+ Hits          379      382       +3     
+ Misses          1        0       -1     
  Partials        1        1
Impacted Files Coverage Δ
nrrd/writer.py 99.19% <75%> (+0.83%) :arrow_up:

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 b500fbc...abaad66. Read the comment docs.