Skip to content

Instantly share code, notes, and snippets.

View miltoncamacho's full-sized avatar

Milton Camacho miltoncamacho

View GitHub Profile
@miltoncamacho
miltoncamacho / Auto_tedana.py
Last active March 18, 2025 18:34 — forked from jbdenniso/Auto_tedana.py
Code to batch submit tedana with BIDS data and fmriprep output
import pandas as pd
from tedana import workflows
import json
import os
import re
import argparse
# Use argparse to pass arguments identifying BIDS and fmriprep directories
parser = argparse.ArgumentParser(description='Run TEDANA workflow with fmriprep outputs.')
parser.add_argument('--fmriprepDir', default=None, type=str, help="Path to your fmriprep output directory")