incf-nidash / PyNIDM

Other
21 stars 31 forks source link

csv2nidm invalid key DD #404

Open seanhatton opened 1 month ago

seanhatton commented 1 month ago

Running csv2nidm when writing out the annotations it uses a variable DD (data dictionary?) instead of the field of interest and crashes "Error in csv2nidm line 350 name DD is not defined". There was an edit on csv2nidm 6 months ago that split up the key. I rolled back the changes but that didn't fix the problem.

seanhatton commented 4 weeks ago

First I rolled back a recent change with no change in outcome:

PyNIDM/src/nidm/experiment/tools/csv2nidm.py Feb 9, 2024 Commit: “changed subject key finding to support NIDM JSON map”

Next, in the block of code that changed in the above section, it calls core/Constants.py so I rolled back some code from 2023, no change (the “DD” is from this function):

PyNIDM/src/nidm/core/Constants.py Commit: “Assorted minor code improvements” May 8, 2023