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

Appearance settings

Commit 81670e4

Browse filesBrowse files
committed
BF: allowing bids_event_file as alternate input
1 parent 37e48ec commit 81670e4
Copy full SHA for 81670e4

File tree

4 files changed

+8
-8
lines changed
Filter options

4 files changed

+8
-8
lines changed

‎nipype/algorithms/modelgen.py

Copy file name to clipboardExpand all lines: nipype/algorithms/modelgen.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,15 @@ class SpecifyModelInputSpec(BaseInterfaceInputSpec):
233233
subject_info = InputMultiPath(
234234
Bunch,
235235
mandatory=True,
236-
xor=['subject_info', 'event_files'],
236+
xor=['subject_info', 'event_files', 'bids_event_file'],
237237
desc='Bunch or List(Bunch) subject-specific '
238238
'condition information. see '
239239
':ref:`SpecifyModel` or '
240240
'SpecifyModel.__doc__ for details')
241241
event_files = InputMultiPath(
242242
traits.List(File(exists=True)),
243243
mandatory=True,
244-
xor=['subject_info', 'event_files'],
244+
xor=['subject_info', 'event_files', 'bids_event_file'],
245245
desc='List of event description files 1, 2 or 3 '
246246
'column format corresponding to onsets, '
247247
'durations and amplitudes')

‎nipype/algorithms/tests/test_auto_SpecifyModel.py

Copy file name to clipboardExpand all lines: nipype/algorithms/tests/test_auto_SpecifyModel.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_SpecifyModel_inputs():
2020
),
2121
event_files=dict(
2222
mandatory=True,
23-
xor=['subject_info', 'event_files'],
23+
xor=['subject_info', 'event_files', 'bids_event_file'],
2424
),
2525
functional_runs=dict(
2626
copyfile=False,
@@ -33,7 +33,7 @@ def test_SpecifyModel_inputs():
3333
realignment_parameters=dict(copyfile=False, ),
3434
subject_info=dict(
3535
mandatory=True,
36-
xor=['subject_info', 'event_files'],
36+
xor=['subject_info', 'event_files', 'bids_event_file'],
3737
),
3838
time_repetition=dict(mandatory=True, ),
3939
)

‎nipype/algorithms/tests/test_auto_SpecifySPMModel.py

Copy file name to clipboardExpand all lines: nipype/algorithms/tests/test_auto_SpecifySPMModel.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_SpecifySPMModel_inputs():
2121
concatenate_runs=dict(usedefault=True, ),
2222
event_files=dict(
2323
mandatory=True,
24-
xor=['subject_info', 'event_files'],
24+
xor=['subject_info', 'event_files', 'bids_event_file'],
2525
),
2626
functional_runs=dict(
2727
copyfile=False,
@@ -35,7 +35,7 @@ def test_SpecifySPMModel_inputs():
3535
realignment_parameters=dict(copyfile=False, ),
3636
subject_info=dict(
3737
mandatory=True,
38-
xor=['subject_info', 'event_files'],
38+
xor=['subject_info', 'event_files', 'bids_event_file'],
3939
),
4040
time_repetition=dict(mandatory=True, ),
4141
)

‎nipype/algorithms/tests/test_auto_SpecifySparseModel.py

Copy file name to clipboardExpand all lines: nipype/algorithms/tests/test_auto_SpecifySparseModel.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_SpecifySparseModel_inputs():
2020
),
2121
event_files=dict(
2222
mandatory=True,
23-
xor=['subject_info', 'event_files'],
23+
xor=['subject_info', 'event_files', 'bids_event_file'],
2424
),
2525
functional_runs=dict(
2626
copyfile=False,
@@ -38,7 +38,7 @@ def test_SpecifySparseModel_inputs():
3838
stimuli_as_impulses=dict(usedefault=True, ),
3939
subject_info=dict(
4040
mandatory=True,
41-
xor=['subject_info', 'event_files'],
41+
xor=['subject_info', 'event_files', 'bids_event_file'],
4242
),
4343
time_acquisition=dict(mandatory=True, ),
4444
time_repetition=dict(mandatory=True, ),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.