Deep-MI / FastSurfer

PyTorch implementation of FastSurferCNN
Apache License 2.0
435 stars 115 forks source link

Remove strings from arithmetic expressions #511

Closed dkuegler closed 2 months ago

dkuegler commented 2 months ago

There seems to be an issue with parsing strings as integer/numbers in some bash versions, see #507 . This commit pulls out num_subjects=${#subjects[@]} and replaces the string "${#subjects[@]}" in the arithmetic expression by num_subjects.