Skip to content

Instantly share code, notes, and snippets.

View soyfrien's full-sized avatar

Louis Waweru soyfrien

View GitHub Profile
This file has been truncated, but you can view the full file.
$ sudo fmriprep-docker -i poldracklab/fmriprep:latest -u 12218:12218 -w /louis/temp-151rc1 /louis/raw_bids /louis/derivatives-151rc1 participant --fs-license-file=/usr/local/freesurfer/license.txt --ignore slicetiming --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5 --participant-label 12345
[sudo] password for louis:
RUNNING: docker run --rm -it -e DOCKER_VERSION_8395080871=18.09.7 -u 12218:12218 -v /usr/local/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /louis/raw_bids:/data:ro -v /louis/derivatives-151rc1:/out -v /louis/temp-151rc1:/scratch poldracklab/fmriprep:latest /data /out participant --ignore slicetiming --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5 --participant-label 12345 -w /scratch
Making sure the input data is BIDS compliant (warnings can be ignored in most cases).
1: [WARN] The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification. (code: 101 - README_FILE_MISSING)
Please visit https://neurostars.org/search?q
This file has been truncated, but you can view the full file.
$ sudo fmriprep-docker -i poldracklab/fmriprep:1.5.0 -u 12218:12218 -w /louis/temp-run2 /louis/raw_bids /louis/derivatives-run2 participant --fs-license-file=/usr/local/freesurfer/license.txt --ignore slicetiming --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5 --participant-label 12345
RUNNING: docker run --rm -it -e DOCKER_VERSION_8395080871=18.09.7 -u 12218:12218 -v /usr/local/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /louis/raw_bids:/data:ro -v /louis/derivatives-run2:/out -v /louis/temp-run2:/scratch poldracklab/fmriprep:1.5.0 /data /out participant --ignore slicetiming --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5 --participant-label 12345 -w /scratch
Making sure the input data is BIDS compliant (warnings can be ignored in most cases).
1: [WARN] The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification. (code: 101 - README_FILE_MISSING)
Please visit https://neurostars.org/search?q=README_FILE_MISSING for existing co
This file has been truncated, but you can view the full file.
$ sudo fmriprep-docker -i poldracklab/fmriprep:1.5.0 -u 12218:12218 -w /louis/temp /louis/raw_bids /louis/derivatives2 participant --fs-license-file=/usr/local/freesurfer/license.txt --ignore slicetiming --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5 --participant-label 12345
RUNNING: docker run --rm -it -e DOCKER_VERSION_8395080871=18.09.7 -u 12218:12218 -v /usr/local/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /louis/raw_bids:/data:ro -v /louis/derivatives2:/out -v /louis/temp:/scratch poldracklab/fmriprep:1.5.0 /data /out participant --ignore slicetiming --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5 --participant-label 12345 -w /scratch
Making sure the input data is BIDS compliant (warnings can be ignored in most cases).
1: [WARN] The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification. (code: 101 - README_FILE_MISSING)
Please visit https://neurostars.org/search?q=README_FILE_MISSING for existing conversations about th
@soyfrien
soyfrien / brew_symlink_error_sierra.md
Last active August 11, 2019 07:21 — forked from dalegaspi/brew_symlink_error_sierra.md
Homebrew Symlink errors in Mac OSX High Sierra
@soyfrien
soyfrien / FreesurferSetup.sh
Created July 17, 2019 21:30
freesurfer setup for engram docs
#FREESURFER SETUP
export FREESURFER_HOME=/usr/local/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh
#END FREESURFER SETUP
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
. "/opt/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/opt/anaconda3/bin:$PATH"
@soyfrien
soyfrien / gist:0159d8bf1daa905cee2c3b01f5cf80c7
Created January 2, 2019 19:01
554 5.7.1 Service unavailable; Client host [IP] blocked using example.com
When seeing these types of messages, it may be helpful to remove the failed service using zmprov. See below.
----- The following addresses had permanent fatal errors -----
<email address>
(reason: 554 5.7.1 Service unavailable; Client host [IP] blocked using dnsbl.njabl.org)
----- Transcript of session follows -----
... while talking to MAIL.SERVER.HOSTNAME:
>>> DATA
<<< 554 5.7.1 Service unavailable; Client host [IP] blocked using dnsbl.njabl.org
@soyfrien
soyfrien / ls-tsv.sh
Last active November 30, 2018 21:45
list groups and permissions, no dates. spreadsheet pastable. Example: ls-tsv.sh /data
#!/bin/bash
ls -la $1 | awk '{print $1, $3, $4, $9}'
@soyfrien
soyfrien / .bash_profile
Created November 7, 2018 21:02
hpc sample .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
@soyfrien
soyfrien / .bashrc
Created November 7, 2018 21:01
hpc sample .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=