Wrap my BIDS App?

27 views
Skip to first unread message

torabia...@gmail.com

unread,
Jun 26, 2018, 1:03:55 PM6/26/18
to bids-discussion
Hi All,

I've developed a PyMVPA app that works with BIDS. Before we can place it next to the other BIDS Apps, I have a question:

The app consists of two parts: I) a short bash script that does some preparation - including merging runs' preprocessed functionals (outputs of fmriprep) into single files - needed for the main MVPA part, and II) the main script which is written in Python. I was wondering if I need to wrap these two into a single script, or have them as two separate apps. I was thinking when people use this app, they really need to run the bash part just once, but then they will run multiple tests with different arguments using the main app. So it makes more sense to have these as two separate apps, doesn't it?

Thank you!!
Sajjad

Chris Gorgolewski

unread,
Jul 2, 2018, 3:17:11 PM7/2/18
to bids-discussion, bids-apps-dev
Hi Sajjad,

I don't think you need two different apps for this. You can store the split files in the output directory and use multiple analysis levels: participant_prep (splits the files, needs to be run first), participant_test (requires split files, needs to be run second). See the paper for more details.

Best,
Chris


--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/5e969136-80ae-4d71-b3b4-ac1fc4f6fea8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

torabia...@gmail.com

unread,
Jul 4, 2018, 2:49:16 AM7/4/18
to bids-discussion
Thank you very much for your help!

Best,
Sajjad
Reply all
Reply to author
Forward
0 new messages