Skip to content

Commit 151f25a

Browse files
committed
DOC: codespell fix a few typos in code comments
1 parent ef237fb commit 151f25a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

heudiconv/heuristics/multires_7Tbold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def extract_moco_params(basename, outypes, dicoms):
2727
dcm_times = [(d,
2828
float(dcm_read(d, stop_before_pixels=True).AcquisitionTime))
2929
for d in dicoms]
30-
# store MoCo info from image comments sorted by acqusition time
30+
# store MoCo info from image comments sorted by acquisition time
3131
moco = ['\t'.join(
3232
[str(float(i)) for i in dcm_read(fn, stop_before_pixels=True).ImageComments.split()[1].split(',')])
3333
for fn, t in sorted(dcm_times, key=lambda x: x[1])]

heudiconv/tests/test_heuristics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_smoke_convertall(tmpdir):
4545
@pytest.mark.parametrize('heuristic', ['reproin', 'convertall'])
4646
@pytest.mark.parametrize(
4747
'invocation', [
48-
"--files %s" % TESTS_DATA_PATH, # our new way with automated groupping
48+
"--files %s" % TESTS_DATA_PATH, # our new way with automated grouping
4949
"-d %s/{subject}/* -s 01-fmap_acq-3mm" % TESTS_DATA_PATH # "old" way specifying subject
5050
# should produce the same results
5151
])
@@ -106,7 +106,7 @@ def test_reproin_largely_smoke(tmpdir, heuristic, invocation):
106106

107107
@pytest.mark.parametrize(
108108
'invocation', [
109-
"--files %s" % TESTS_DATA_PATH, # our new way with automated groupping
109+
"--files %s" % TESTS_DATA_PATH, # our new way with automated grouping
110110
])
111111
def test_scans_keys_reproin(tmpdir, invocation):
112112
args = "-f reproin -c dcm2niix -o %s -b " % (tmpdir)

heudiconv/tests/test_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@pytest.mark.skipif(bool(which("sbatch")), reason="skip a real slurm call")
1111
@pytest.mark.parametrize(
1212
'invocation', [
13-
"--files %s/01-fmap_acq-3mm" % TESTS_DATA_PATH, # our new way with automated groupping
13+
"--files %s/01-fmap_acq-3mm" % TESTS_DATA_PATH, # our new way with automated grouping
1414
"-d %s/{subject}/* -s 01-fmap_acq-3mm" % TESTS_DATA_PATH # "old" way specifying subject
1515
])
1616
def test_queue_no_slurm(tmpdir, invocation):

0 commit comments

Comments
 (0)