Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fd0c566

Browse files
Merge branch 'master' into update_petsurfer
2 parents 779a4af + 661dd1d commit fd0c566

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

‎.github/workflows/codespell.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
- name: Codespell
1919
uses: codespell-project/actions-codespell@v2

‎.github/workflows/contrib.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
CI_SKIP_TEST: 1
4646

4747
steps:
48-
- uses: actions/checkout@v3
48+
- uses: actions/checkout@v4
4949
with:
5050
submodules: recursive
5151
fetch-depth: 0

‎.github/workflows/tests.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
4141
with:
4242
fetch-depth: 0
4343
- uses: actions/setup-python@v4
@@ -122,7 +122,7 @@ jobs:
122122
CI_SKIP_TEST: 1
123123

124124
steps:
125-
- uses: actions/checkout@v3
125+
- uses: actions/checkout@v4
126126
- name: Set up Python ${{ matrix.python-version }}
127127
uses: actions/setup-python@v4
128128
with:

‎nipype/interfaces/spm/preprocess.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,13 +1491,16 @@ def _list_outputs(self):
14911491
filelist = ensure_list(self.inputs.apply_to_files)
14921492
for f in filelist:
14931493
if isinstance(f, list):
1494-
run = [fname_presuffix(in_f, prefix="w") for in_f in f]
1494+
run = [
1495+
fname_presuffix(in_f, prefix=self.inputs.out_prefix)
1496+
for in_f in f
1497+
]
14951498
else:
1496-
run = [fname_presuffix(f, prefix="w")]
1499+
run = [fname_presuffix(f, prefix=self.inputs.out_prefix)]
14971500
outputs["normalized_files"].extend(run)
14981501
if isdefined(self.inputs.image_to_align):
14991502
outputs["normalized_image"] = fname_presuffix(
1500-
self.inputs.image_to_align, prefix="w"
1503+
self.inputs.image_to_align, prefix=self.inputs.out_prefix
15011504
)
15021505

15031506
return outputs

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /