Skip to content

Commit

Permalink
maint: set -vv, --sloppy, --nprocs, and `--omp-nthreads
Browse files Browse the repository at this point in the history
…` on CircleCI

Also, make nipype config file available.

Close nipy#30
  • Loading branch information
oesteban committed Nov 2, 2019
1 parent 3d7c8a6 commit 1ed38fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
tar xvzf THP002_data.tar.gz -C /tmp/data/
else
echo "Dataset THP002 was cached"
fi
fi
- run:
name: Get FreeSurfer derivatives for THP002
command: |
Expand Down Expand Up @@ -219,13 +219,15 @@ jobs:
sudo setfacl -m group:$(id -gn):rwx /tmp/THP002/derivatives
sudo setfacl -d -m group:$(id -gn):rwx /tmp/THP002/work && \
sudo setfacl -m group:$(id -gn):rwx /tmp/THP002/work
docker run -e FS_LICENSE=$FS_LICENSE --rm=false \
docker run -e FS_LICENSE=$FS_LICENSE --rm \
-v /tmp/data/THP002:/data \
-v /tmp/THP002/derivatives:/out \
-v /tmp/fslicense/license.txt:/tmp/fslicense/license.txt:ro \
-v /tmp/config/nipype.cfg:/home/dmriprep/.nipype/nipype.cfg \
-v /tmp/THP002/work:/work \
--user $(id -u):$(id -g) \
nipreps/dmriprep:latest /data /out participant --anat-only --notrack --skip-bids-validation -w /work
nipreps/dmriprep:latest /data /out participant -vv --sloppy --anat-only \
--notrack --skip-bids-validation -w /work --omp-nthreads 2 --nprocs 2
- run:
name: Clean-up after anatomical run
command: |
Expand Down Expand Up @@ -452,7 +454,7 @@ workflows:
- THP002:
requires:
- build
- get_data
- get_data
filters:
branches:
ignore:
Expand Down
4 changes: 0 additions & 4 deletions dmriprep/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ def main():
from ..utils.sentry import sentry_setup
sentry_setup(opts, exec_env)

if opts.debug:
print('WARNING: Option --debug is deprecated and has no effect',
file=sys.stderr)

# Validate inputs
if not opts.skip_bids_validation:
print("Making sure the input data is BIDS compliant (warnings can be ignored in most "
Expand Down

0 comments on commit 1ed38fa

Please sign in to comment.