HCPpipelines
HCPpipelines copied to clipboard
Bugfix longitudinal example
Fix undefined loop variable in longitudinal batch example.
The loop variable i was never defined when accessing Templates array, causing the script to fail or use incorrect templates for subjects.
This assumes Templates and Subjlist arrays are meant to be parallel (subject i uses template i). I believe this is the intention, by example of other scripts in the same directory.