cpp-lln-lab / CPP_PTB

a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox
https://cpp-ptb.readthedocs.io/en/latest/index.html#
MIT License
12 stars 13 forks source link

saveEventsFile warning #50

Closed CerenB closed 3 years ago

CerenB commented 3 years ago
  1. Warning It seems to be passing this warning when there's nan. But I think I still have nans - as early Xmas decoration in my response collection array, somehow. Thus I have 13 (number of button pressed) error messages like this:

    Warning: Missing some target data for this event. 
    > In saveEventsFile>checkExtracolumns (line 240)
    In saveEventsFile>checklLogFile (line 166)
    In saveEventsFile (line 84)
    In fMRIMainExperiment (line 229) 
           onset: 199.7325
      trial_type: 'response'
        duration: 0
        key_name: 'space'
         pressed: 1
          fileID: []
    extraColumns: []
          target: NaN
  2. It does not separate the time of the date in the saving name: sub-001_ses-001_task-RhythmCategFT_run-001_events_date-202007272044.tsv previously it was: sub-001_ses-001_task-RhythmCategFT_run-001_events_date-20200727_2044.tsv Previous version was slightly easier for a human to read.