We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9825d92 commit 4c36fb4Copy full SHA for 4c36fb4
heudiconv/heuristics/test_reproin.py
@@ -166,6 +166,7 @@ def test_parse_series_spec():
166
assert \
167
pdpn(" PREFIX:bids_func_ses+_task-boo_run+ ") == \
168
pdpn("PREFIX:bids_func_ses+_task-boo_run+") == \
169
+ pdpn("WIP func_ses+_task-boo_run+") == \
170
pdpn("bids_func_ses+_run+_task-boo") == \
171
{
172
'seqtype': 'func',
@@ -202,3 +203,9 @@ def test_parse_series_spec():
202
203
'acq': 'MPRAGE',
204
'seqtype_label': 'T1w'
205
}
206
+
207
+ # Check for currently used {date}, which should also should get adjusted
208
+ # from (date) since Philips does not allow for {}
209
+ assert pdpn("func_ses-{date}") == \
210
+ pdpn("func_ses-(date)") == \
211
+ {'seqtype': 'func', 'session': '{date}'}
0 commit comments