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

Change logic for how headers and detached data are written #104

Merged
merged 1 commit into from
Nov 16, 2019

Conversation

addisonElliott
Copy link
Collaborator

Ignore 'data file' and 'datafile' fields in the header.

Allow user to specify a custom data path via the detached_header
parameter. If its a string, then it's assumed to be a custom path.

Otherwise, if detached_header is set to True, then the filename for the
data will be calculated.

Fixes #96

Ignore 'data file' and 'datafile' fields in the header.

Allow user to specify a custom data path via the detached_header
parameter. If its a string, then it's assumed to be a custom path.

Otherwise, if detached_header is set to True, then the filename for the
data will be calculated.
@codecov-io
Copy link

codecov-io commented Nov 16, 2019

Codecov Report

Merging #104 into master will increase coverage by 0.26%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #104      +/-   ##
========================================
+ Coverage   99.73%   100%   +0.26%     
========================================
  Files           6      6              
  Lines         383    385       +2     
  Branches      124    125       +1     
========================================
+ Hits          382    385       +3     
+ Partials        1      0       -1
Impacted Files Coverage Δ
nrrd/writer.py 100% <100%> (+0.8%) ⬆️

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 6faf838...855aec4. Read the comment docs.

@addisonElliott addisonElliott merged commit 39d9287 into mhe:master Nov 16, 2019
@addisonElliott addisonElliott deleted the handle-detached-headers branch November 16, 2019 18:23
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.

Modify 'data file' whenever detached_header=True
2 participants