#project @review({{review interval}}) @start({{start date}}) @due({{due data}})
This file contains hidden or 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 | |
# Note that this repo includes a Singularity file too | |
git clone https://github.com/miykael/nipype_tutorial | |
cd nipype_tutorial | |
chmod +x generate.sh | |
./generate.sh | |
docker build --tag jjnipype . | |
./run_nipype_tutorial_docker |
This file contains hidden or 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
# | |
# This is kind of a mashup with | |
# https://github.com/miykael/nipype-beginner-s-guide/blob/master/scripts/example_fMRI_1_first_level.py | |
# | |
def subjectinfo(subject_id): | |
import pandas as pd | |
from nipype.interfaces.base import Bunch | |
This file contains hidden or 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
% List of open inputs | |
nrun = 1; % enter the number of runs here | |
jobfile = {'/Volumes/Data/Research/fmri/fmri_rs/code/SPM_code/im1_first_level_job.m'}; | |
jobs = repmat(jobfile, 1, nrun); | |
inputs = cell(0, nrun); | |
for crun = 1:nrun | |
end | |
spm('defaults', 'FMRI'); | |
spm_jobman('run', jobs, inputs{:}); |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
This file contains hidden or 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 | |
docker run -it --rm \ | |
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/:/home/neuro/nipype_tutorial \ | |
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/data/:/data \ | |
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/output/:/output \ | |
-p 8989:8888 \ | |
miykael/nipype_tutorial \ | |
jupyter notebook | |
This file contains hidden or 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
Bootstrap: docker | |
From: nipype/nipype:latest | |
# This is the adjusted (fixed) build recipe for the issue above. | |
# sudo singularity build swist Singularity.swist | |
%labels | |
Maintainer GT | |
Version v1.0 |
This file contains hidden or 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
220329-07:08:30,215 nipype.workflow INFO: | |
Workflow preproc settings: ['check', 'execution', 'logging', 'monitoring'] | |
220329-07:08:30,300 nipype.workflow INFO: | |
Running in parallel. | |
220329-07:08:30,304 nipype.workflow INFO: | |
[MultiProc] Running 0 tasks, and 10 jobs ready. Free memory (GB): 28.80/28.80, Free processors: 1/1. | |
220329-07:08:32,307 nipype.workflow INFO: | |
[Job 0] Completed (preproc.selectfiles). | |
220329-07:08:32,311 nipype.workflow INFO: | |
[MultiProc] Running 0 tasks, and 11 jobs ready. Free memory (GB): 28.80/28.80, Free processors: 1/1. |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>Activate</key> | |
<string>WithPalette</string> | |
<key>AddToMacroPalette</key> | |
<false/> | |
<key>AddToStatusMenu</key> |