aces / Loris-MRI

The set of scripts that preprocess and insert MRI data into the database.
10 stars 50 forks source link

[python/mass_electrophysiology_chunking.py] Off-by-one error #1106

Closed jeffersoncasimir closed 1 month ago

jeffersoncasimir commented 2 months ago

There is an off-by-one error with regards to -s and -l.

In python, the range function's upper-bound is non-inclusive.

Ex: range(1, 10) iterates from 1 to 9.

Found when testing #1072