Skip to content

Instantly share code, notes, and snippets.

View dmwelch's full-sized avatar
👋
I may be slow to respond.

David Welch dmwelch

👋
I may be slow to respond.
  • previously at Hyperfine.io
  • St. Louis, MO, USA
  • 06:56 (UTC -05:00)
  • X @imagingnerd
View GitHub Profile
@dmwelch
dmwelch / display_crash.py
Created January 26, 2012 06:05 — forked from satra/display_crash.py
Displays nipype crash files with formatted information
#! /usr/bin/env python
import argparse
from nipype.utils.filemanip import loadcrash
def display_crash_files(crashfile, rerun):
"display crash file content and rerun if required"
crash_data = loadcrash(crashfile)
node = crash_data['node']