Skip to content

Commit

Permalink
Merge pull request #740 from oesteban/enh/new-feedback
Browse files Browse the repository at this point in the history
[ENH] New feedback widget
  • Loading branch information
oesteban authored Aug 17, 2018
2 parents 4346477 + 8907acb commit b8b6f65
Show file tree
Hide file tree
Showing 7 changed files with 216 additions and 167 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
-v $PWD:/scratch -w /scratch \
poldracklab/mriqc:latest \
/data derivatives/ participant \
-vv --verbose-reports --profile -m T1w \
-vv --verbose-reports --profile -m T1w --dsname circletests \
--n_procs 2 --ants-nthreads 1 --ants-float \
--webapi-url http://$( hostname -I | awk '{print $1}' )/api/v1 --upload-strict
- run:
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
-v $PWD:/scratch -w /scratch \
poldracklab/mriqc:latest \
/data derivatives/ participant \
-vv --verbose-reports --profile -m bold \
-vv --verbose-reports --profile -m bold --dsname circletests \
--n_procs 2 --ants-nthreads 1 --ants-float \
--testing --ica \
--webapi-url http://$( hostname -I | awk '{print $1}' )/api/v1 --upload-strict
Expand Down
7 changes: 5 additions & 2 deletions mriqc/bin/mriqc_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def get_parser():
g_bids.add_argument('-m', '--modalities', action='store', nargs='*',
choices=['T1w', 'bold', 'T2w'], default=['T1w', 'bold', 'T2w'],
help='filter input dataset by MRI type ("T1w", "T2w", or "bold")')
g_bids.add_argument('--dsname', type=str, help='a dataset name')

# Control instruments
g_outputs = parser.add_argument_group('Instrumental options')
Expand All @@ -86,8 +87,7 @@ def get_parser():
'to MRIQC\'s metrics repository.')
g_outputs.add_argument('--email', action='store', default='', type=str,
help='Email address to include with quality metric submission.')
g_outputs.add_argument("-v", "--verbose", dest="verbose_count",
action="count", default=0,
g_outputs.add_argument("-v", "--verbose", dest="verbose_count", action="count", default=0,
help="increases log verbosity for each occurence, debug level is -vvv")

g_outputs.add_argument(
Expand Down Expand Up @@ -348,6 +348,9 @@ def init_mriqc(opts, retval):
if opts.ants_settings:
settings['ants_settings'] = opts.ants_settings

if opts.dsname:
settings['dataset_name'] = opts.dsname

log_dir = settings['output_dir'] / 'logs'

# Create directories
Expand Down
Loading

0 comments on commit b8b6f65

Please sign in to comment.