Hi everyone,
In a NIDM-Results pack:
- we store the shasum of the files we refer to.
- we store gzipped images (.nii.gz) (in order to save space).
But shasum of gzipped files are different:
- whether images have been compressed using Matlab versus Octave
- depending on the host system (local mac OS versus ubuntu on Travis CI) when Octave is launched via docker
Differences in shasum can be explained by the fact that different processes were used to gzip the images. But, this is disserving our initial goal to be able to identify common images across multiple NIDM graphs (for reconciliation).
As a workaround, we could additionally store the shasum of the file before compression.
What are your thoughts on this?
Note: This issue was identified with @gllmflndn when testing the SPM-NIDM-Results exporter in Octave at incf-nidash/nidmresults-spm#46 and briefly discussed on NIDM call (Jan. 29th, 2018).
Hi everyone,
In a NIDM-Results pack:
But shasum of gzipped files are different:
Differences in shasum can be explained by the fact that different processes were used to gzip the images. But, this is disserving our initial goal to be able to identify common images across multiple NIDM graphs (for reconciliation).
As a workaround, we could additionally store the shasum of the file before compression.
What are your thoughts on this?
Note: This issue was identified with @gllmflndn when testing the SPM-NIDM-Results exporter in Octave at incf-nidash/nidmresults-spm#46 and briefly discussed on NIDM call (Jan. 29th, 2018).