Hi everyone,
I am trying to create an automated pipeline and have never created one before. I am currently attempting to do DICOM to Nifti conversion through Heudiconv but have different heuristic -f files for various data collection sites that organize the format to BIDS based on how data is collected at the site. I currently have a bash .sh script but that is not the most efficient because I’m constantly having to change the -f path.
Eventually what I would like to do is create my automated script in Python and run the bash script to do dicom to nifti through python as a function in subprocess but utilize different heuristic files for each site.
How is the best way to specify different heuristic files? Does anyone have an example script they can share where they have used multiple heuristic files to do DICOM to BIDS conversion?
Thanks.
–Subbi M.