External Email - Use Caution
You are right, I see 'Found 2 unique series: 9 11' and it works with both of the numbers. I assume I have to do this with every single series in the data, am I correct? Is there a way to do this automatically avoiding specifying the series in each command execution?
Thank you so much for you help,
S
El lun, 3 jul 2023 a las 20:05, Huang, Yujing (YHUANG43@mgh.harvard.edu) escribió:
External Email - Use Cautiondcmunpack -src <dicomdir> -targ <sessionid> -fsfast -run <runno> <subdir-under-targ> <format> <fname>
specify full path to your dicom directory for ‘-src <dicomdir>’
specify full path for ‘-targ <seesionid>’, or it will be created under
the directory where you ran dcmunpack
- I think you should see ‘Found 18 unique series: 1 2 …’ in the output. I
believe <runno> should be one of these series Nos.
Best,
Yujing
*From:* freesurfer-bounces@nmr.mgh.harvard.edu < freesurfer-bounces@nmr.mgh.harvard.edu> *On Behalf Of *Sara Teso Cuesta *Sent:* Friday, June 30, 2023 1:05 PM *To:* freesurfer@nmr.mgh.harvard.edu *Subject:* [Freesurfer] dcmunpack: Issues with the -run argument
External Email - Use Caution *Hello FreeSurfer Developers,
I am trying to use dcmunpack to transform dicom images to a nifti format inside a FSFAST formatted directory (*MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* https://secure-web.cisco.com/10RhbaiY2D2ZY_bRli2ryVF5Xi3d8Dc24G2wkWrqQzyxALX... https://secure-web.cisco.com/1JV-FemocV4fiLoKofgFHZ2hQTt_nlpR8LAqJEXvFr3d88Y9d8_5ARW5ZwWfjra1Get0gYobq4LmRSdujguw3Lo8y_WXDV6ESU4ApxhlMZ7JD5AIUzRBJIoJyaHjAFeqrP2rw2iPUB2PkBukeZLPJKT2EKeWxFBBlaMczY6mQKlNi9vPHMD9NIGJc9AkxEeZnUBPjIbTBdnZNtPEUc1tZIW8XtTtgSk8bx2puWstu5z3lOGqpRN1veJpOZif_VOkQhd8xIs0a2I4PDLls1l2RQG9W7-RQQaPBRMBwtnvlJ1DXZY9ir7Z0sSJXxe6yIXLL0AqJvxXoBAvqTqJkhjDXOw/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Ffsfastrestingstatetutorial), however I am having issues understanding how to use properly the -run argument.
This is the command I am trying to use:
dcmunpack -src fMRI_dir -targ sessionid -fsfast -run 2 rest nii.gz f.nii.gz
I assume I am making some mistakes with the command, specially with the run arguments since this is the error that I got in the terminal: ERROR: could not find run 2 in data
My directory contains fMRIs downloaded directly from the ADNI database and grouped in folders following this structure:
/fMRI_dir/subject_id/Axial_rsfMRI/date/image_uid/dicom images
I've searched the list and no similar errors have been reported. Does anyone have any thoughts on how to solve this?
- FreeSurfer version: freesurfer_ubuntu20-7.4.0_amd64.deb
- Platform: Ubuntu 20.04 in WSL
Thanks for your help. _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1_-HbeV1npfIvHldGS4MFKWKyADeEnwA7m_h6dC6l5dM4MD... The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://secure-web.cisco.com/1h7xmUYKT2FWsF5tnb8-ikNRW-_KhCPgml1oWMQ6ywvZQ6t... < https://secure-web.cisco.com/1h7xmUYKT2FWsF5tnb8-ikNRW-_KhCPgml1oWMQ6ywvZQ6t... .