neurobooth / neurobooth-os

Python package for digital phenotyping data synchronization and acquisition
http://neurobooth.github.io
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Adding ability to abort speech tasks #389

Closed boubre closed 6 months ago

boubre commented 6 months ago

The reason for the exception with try/except over a return value is that this same strategy is what I am doing for MOT, so I can reuse it there. In MOT, the abort checks are nested several functional calls deep, and it is much more readable with the exception.

boubre commented 6 months ago

@lwhite1 I made some changes that I think address the major points raised by your comments if you would like to take another look.