cpp-lln-lab / CPP_BIDS

a set of matlab / octave function to create BIDS comptible folder structure and filenames
https://cpp-bids.readthedocs.io/en/dev/index.html
MIT License
1 stars 9 forks source link

adding n/a check for empty cells in logfile #173

Closed CerenB closed 2 years ago

CerenB commented 3 years ago

You think / need this code to do: in saveEventsFile.m, somehow for the first response, it does not add n/a for all the empty cells. Please see the logfile attached. It adds for the following responses all the n/a s. It might be the issue of my case. I open extracolumns (n = 20), and two of my extra columns are having size = 12 (so it is 20 + 24 headers). And in the first response, I can see that it adds 20 n/a which is the size of header without extracolumn size 12.

Maybe adding n/a check at the end of the logfile save, could be a solution for possible other issues as well. Beginning of the logfile: Screenshot 2021-06-09 at 10 07 12

The responses: Screenshot 2021-06-09 at 10 07 34