This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nipype.pipeline.engine import Workflow, Node, MapNode | |
from nipype.interfaces.io import DataGrabber | |
from nipype.interfaces.utility import IdentityInterface | |
from nipype.interfaces.utility import Function | |
from nipype.utils.misc import getsource | |
from SEMTools.filtering.denoising import UnbiasedNonLocalMeans | |
from SEMTools.segmentation.specialized import BRAINSConstellationDetector | |
from SEMTools.utilities.brains import BRAINSLandmarkInitializer | |
from SEMTools.registration.brainsresample import BRAINSResample | |
from SEMTools.segmentation.specialized import BRAINSROIAuto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################ | |
# # | |
# Script: postXNAT.sh # | |
# # | |
# Task: Upload entire experiment in ZIP format via XNAT REST client # | |
# Overwrites previously uploaded experiment, if it exists # | |
# # | |
# Author: David Welch # | |
# Contact: david dot m period welch at gmail dot com # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo brew doctor | |
Password: | |
Your system is ready to brew. | |
$ sudo brew --config | |
Password: | |
HOMEBREW_VERSION: 0.9.4 | |
ORIGIN: https://github.com/mxcl/homebrew.git | |
HEAD: 705b5e133d8334cae66710fac1c14ed8f8713d6b | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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'] |