INT-NIT / DigLabTools

MIT License
2 stars 4 forks source link

Generation of new descriptor_elabbook files #70

Open killianrochet opened 1 year ago

killianrochet commented 1 year ago

This issue is a one of the 3 steps of V4A pipeline that should include.

Idea is to generate the descriptor_elabbook.csv file based on the the full_elabbook.csv file.

Function : conversion_to_odmltables_descriptor(full_elabbook_csv, session_number)

Args : 
     full_elabbook_csv 
     session_number

Return : descriptor_elabbook_csv

This function will take the full_elabbook_csv file to make all of the descriptor_elabbook file that we need to create BIDS structure.

SylvainTakerkart commented 1 year ago

ok, this looks good to me! what's missing is the specification of whether this function is designed to handle one or several sessions.... the most simple is to write this function for one session, and therefore a session_id should be added as an input...

(and then, the snakemake part can call this function, and loop over all sessions for which the descriptor needs to be generated)

WDYT @killianrochet @JuliaSprenger ?

killianrochet commented 1 year ago

Yes, i have modified the description of the function to add the session_id as an argument

JuliaSprenger commented 1 year ago

Hi @killianrochet Can you use odmltables instead of odml_table, as this is the name of the piece of software that does the conversion csv -> odml?