Skip to content

Commit 84c1688

Browse files
committed
address reviews
1 parent 5d3d096 commit 84c1688

File tree

5 files changed

+2
-255
lines changed

5 files changed

+2
-255
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ out/
3939
.zenodo.json
4040
.travis.yml
4141
.readthedocs.yml
42-
CONTRIBUTING.rst
42+
CONTRIBUTING.md

.github/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ newPRWelcomeComment: >
55
Thanks for opening this pull request!
66
We have detected this is the first time for you to contribute
77
to *dMRIPrep*.
8-
Please check out our [contributing guidelines](https://github.com/nipreps/dmriprep/blob/master/CONTRIBUTING.rst).
8+
Please check out our [contributing guidelines](https://github.com/nipreps/dmriprep/blob/master/CONTRIBUTING.md).
99
1010
We invite you to list yourself as a *dMRIPrep* contributor, so if your name
1111
is not already mentioned, please modify the

.travis.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

dmriprep/interfaces/reports.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
import os
66
import time
77

8-
# from collections import Counter
98
from nipype.interfaces.base import (
109
traits, TraitedSpec, BaseInterfaceInputSpec,
1110
File, Directory, InputMultiObject, Str, isdefined,
1211
SimpleInterface)
1312
from nipype.interfaces import freesurfer as fs
14-
# from niworkflows.utils.bids import BIDS_NAME
1513

1614

1715
SUBJECT_TEMPLATE = """\
@@ -104,28 +102,14 @@ def _generate_segment(self):
104102
if self.inputs.t2w:
105103
t2w_seg = '(+ {:d} T2-weighted)'.format(len(self.inputs.t2w))
106104

107-
# Add list of tasks with number of runs
108105
dwi_files = self.inputs.dwi if isdefined(self.inputs.dwi) else []
109106
dwi_files = [s[0] if isinstance(s, list) else s for s in dwi_files]
110107

111-
# counts = Counter(BIDS_NAME.search(series).groupdict()['task_id'][5:]
112-
# for series in dwi_files)
113-
114-
# tasks = ''
115-
# if counts:
116-
# header = '\t\t<ul class="elem-desc">'
117-
# footer = '\t\t</ul>'
118-
# lines = ['\t\t\t<li>Task: {task_id} ({n_runs:d} run{s})</li>'.format(
119-
# task_id=task_id, n_runs=n_runs, s='' if n_runs == 1 else 's')
120-
# for task_id, n_runs in sorted(counts.items())]
121-
# tasks = '\n'.join([header] + lines + [footer])
122-
123108
return SUBJECT_TEMPLATE.format(
124109
subject_id=self.inputs.subject_id,
125110
n_t1s=len(self.inputs.t1w),
126111
t2w=t2w_seg,
127112
n_dwi=len(dwi_files),
128-
# tasks=tasks,
129113
std_spaces=', '.join(self.inputs.std_spaces),
130114
nstd_spaces=', '.join(self.inputs.nstd_spaces),
131115
freesurfer_status=freesurfer_status)

dmriprep/utils/sentry.py

Lines changed: 0 additions & 208 deletions
This file was deleted.

0 commit comments

Comments
 (0)