Skip to content

Instantly share code, notes, and snippets.

View jbdenniso's full-sized avatar

Jeff Dennison jbdenniso

View GitHub Profile
@jbdenniso
jbdenniso / Auto_tedana.py
Last active March 19, 2025 20:13
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
# Use argparse to pass arguments identify where bids and fmriprep info is information
parser = argparse.ArgumentParser(
description='Give me a path to your fmriprep output and number of cores to run')
parser.add_argument('--fmriprepDir',default=None, type=str,help="This is the full path to your fmriprep dir")