Skip to content

Commit 4203333

Browse files
committed
Fix the echo time processing loop.
1 parent f4feae1 commit 4203333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CPAC/utils/datasource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def ingress_func_metadata(wf, cfg, rpool, sub_dict, subject_id,
565565
function=gather_echo_times),
566566
name='fugue_gather_echo_times')
567567

568-
for idx, fmap_file in enumerate(fmap_TE_list):
568+
for idx, fmap_file in enumerate(fmap_TE_list, start=1):
569569
try:
570570
node, out_file = rpool.get(fmap_file)[
571571
f"['{fmap_file}:fmap_TE_ingress']"]['data']

0 commit comments

Comments
 (0)