mhe / pynrrd

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

Remove documentation regarding compression_level=0 #91

Closed addisonElliott closed 5 years ago

addisonElliott commented 5 years ago

The GZIP library supports a compression level of 0 for no compression but this has been found to be slower than setting the encoding to raw. This PR removes documentation for setting compression_level=0. In addition, bz2 in Python does not support a compression level of 0. Another benefit of this PR is the unified compression level range.

Note that the user can still specify a compression level of 0 at their own risk.

Fixes issue #88

codecov-io commented 5 years ago

Codecov Report

Merging #91 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #91   +/-   ##
=======================================
  Coverage   99.17%   99.17%           
=======================================
  Files           6        6           
  Lines         363      363           
  Branches      117      117           
=======================================
  Hits          360      360           
  Misses          1        1           
  Partials        2        2
Impacted Files Coverage Δ
nrrd/writer.py 97.47% <ø> (ø) :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 0dfddeb...9d2c053. Read the comment docs.