Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Cluster Support
 unconfound? 'RBD_COMMON::BaseException'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dvsmith
Advanced Member

USA
218 Posts

Posted - Mar 02 2011 :  7:03:31 PM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
I'm trying to use one of the FSL tools called unconfound. Its usage is simple, yet it keeps throwing errors when I try it:
[smith@node53 run1.ica]$ unconfound
Usage: unconfound <in4d> <out4d> <confound.mat>

[smith@node53 run1.ica]$ pwd
/home/smith/experiments/Imagene.02/Analysis/TaskData/10156/Framing/MELODIC_150/Smooth_6mm/run1.ica

[smith@node53 run1.ica]$ unconfound filtered_func_data.nii.gz denoised_tmp.nii.gz for_confound.txt
terminate called after throwing an instance of 'RBD_COMMON::BaseException'
Aborted

I've tried change the extension from .txt to .mat, and I've also tried running dos2unix to no avail. I suspect this is an FSL bug, but I wanted to make sure someone else was also seeing the error before I write them.

Thanks!
David

dvsmith
Advanced Member

USA
218 Posts

Posted - Mar 03 2011 :  12:21:16 PM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
I can reproduce this error on three different systems: OSX (10.6.6), Ubuntu 10.04, and the cluster. I've tried the latest 3 versions of FSL. As far as I can tell, there isn't anything wrong/corrupt with the inputs I'm using, but I could be wrong here... Nobody else has complained of this bug on the FSL forums, so I'm assuming I'm just doing something wrong...
Go to Top of Page

petty
BIAC Staff

USA
453 Posts

Posted - Mar 03 2011 :  12:40:20 PM  Show Profile  Reply with Quote
I tested a couple things last night, suspecting it could be the version of fsl and your particular datatype.

It was reproducible in the last 2 releases of fsl, and it threw the same error on float32 and int16 data.

Go to Top of Page

dvsmith
Advanced Member

USA
218 Posts

Posted - Mar 03 2011 :  12:54:44 PM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
ok -- thanks, Chris. Maybe it's a new bug since nobody complained about it in older posts. I'll email the list to see what's up.
Go to Top of Page

dvsmith
Advanced Member

USA
218 Posts

Posted - Mar 04 2011 :  1:40:55 PM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
Just to follow up with this... Apparently, the unconfound.mat file needs to be in the exact same format as a design.mat file that Feat would use. I think an easy workaround would be to put your confound txt file into the confound EVs options in Feat and then generate the design.mat file using feat_model. The only catch here (I think) is that you must trick Feat into thinking it has at least one "real" EV in its design matrix, so just make a design with a single empty EV. I'm waiting for someone at FMRIB to confirm that my approach is OK: https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=FSL;6856cd8f.1103

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.36 seconds. Snitz Forums 2000