Bug #1091
Allow user IDs starting with a number
Status: | Resolved | Start date: | 2014-11-24 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Brecht De Man | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
C. B.: "It took me a while to figure out a problem with the ID. To me, the ID implies that it should (or at least, could) be a number. For many experiments, anonymousity is key. The issue is is that you evaluate:
sprintf('%s=indDat;',indDat.id)
If indDat is a number, this wouldn't be valid. E.g.:
1=indDat % not valid Brecht... 1 == 1 and always will be!!!
I'd suggest changing this so that it saves it in a variable called ParticipantData and then saves it to a file with save([indDat.id, '.mat'],'indDat'). I guess it's not a crucial point at the moment, as long as you make that point in the manual or do an error check with a meaningful message."
History
#1 Updated by Brecht De Man over 9 years ago
- Status changed from New to Resolved