You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I experienced this while modifying an NHDR and saving it as another NHDR. In this case, the modified detached data is not saved where my modified NHDR is.
Correction:
Detached data is saved in the working directory.
The text was updated successfully, but these errors were encountered:
tashrifbillah
changed the title
Modified 'data file' whenever detached_header=True
Modify 'data file' whenever detached_header=True
Jun 6, 2019
👍 I agree after thinking about your use case. I think it's safe to always overwrite the path for the data filename and update it.
This would be good to document (in the docs). Additionally, would be good to have a test for this. Maybe even take your use case and demonstrate how it causes problems.
We should omit the if-else below:
https://github.com/mhe/pynrrd/blob/master/nrrd/writer.py#L190
Omitting the condition should also address the TODO below:
https://github.com/mhe/pynrrd/blob/master/nrrd/writer.py#L210
I experienced this while modifying an NHDR and saving it as another NHDR. In this case, the modified detached data is not saved where my modified NHDR is.
Correction:
Detached data is saved in the working directory.
The text was updated successfully, but these errors were encountered: