Ott-Decision-Circuits-Lab / Bpod_Gen2

Repository for 2nd generation Bpod platform (formerly beta branch of Bpod repository)
GNU General Public License v3.0
0 stars 1 forks source link

write experimental metadata to database #2

Open gkBCCN opened 1 year ago

antonioleeps commented 1 year ago

please consider several checkings before executing these, e.g. people running from home without proper network connection, emulator mode, fake subject etc.

gkBCCN commented 1 year ago

@antonioleeps I added try blocks with error messages instead. I don't want to exclude writing to the database in Emulator mode, because that is useful for testing. The try blocks should allow for closing the session in all the other cases you mentioned. This, of course, needs to be tested.