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

[TST] Check for changes in intermediate nifti files #485

Merged
merged 11 commits into from
May 6, 2017

Conversation

oesteban
Copy link
Member

@oesteban oesteban commented May 5, 2017

That will provide more cues to understand why IQMs sometimes may slightly vary.

The new outputs file was calculated with a docker image build on the git commit
immediatelly previous to this one.

MRIQC was run like:

```
docker build -t poldracklab/mriqc:latest --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` --build-arg VERSION="${CIRCLE_TAG:-99.99.99}" . && \
docker run -i -v /etc/localtime:/etc/localtime:ro -v $HOME/Data/:/data:ro -v $SCRATCH:/scratch -w /scratch poldracklab/mriqc:latest /data/circle-tests-1.1.1 out/ participant --testing --verbose-reports --profile --n_proc 8 --ants-nthreads 8 --ica
```

And finally, the sha1 hashes were extracted like:

```
find $SCRATCH -name "*.nii.gz" -type f  | sed s+$SCRATCH+/scratch+ | sort | xargs -n1 $HASHCMD >> $SCRATCH/nii_outputs.txt && diff $HOME/workspace/mriqc/tests/nii_outputs.txt $SCRATCH/nii_outputs.txt
```
with

```
export HASHCMD="docker run -i -v $SCRATCH:/scratch --entrypoint="/usr/local/miniconda/bin/nib-hash" poldracklab/mriqc:latest"
```
@oesteban oesteban added RTM and removed WIP labels May 6, 2017
@oesteban oesteban merged commit 2d47620 into nipreps:master May 6, 2017
@oesteban oesteban deleted the enh/save-all-md5 branch May 6, 2017 16:51
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.

1 participant