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 | |
import os | |
import tempfile | |
import shutil | |
import json | |
import dicom | |
import requests |
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 | |
# -*- coding: utf-8 -*- | |
import os | |
import argparse | |
import json | |
from glob import glob | |
import csv | |
def get_quantification_value(quantDict, roi, side, type): |
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
# -*- coding: utf-8 -*- | |
import brainvisa.axon.processes | |
brainvisa.axon.processes.initializeProcesses() | |
context = brainvisa.processes.defaultContext() | |
def get_databases(): | |
"""Get the list of Brainvisa databases.""" |
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
curl -L -O https://repo.continuum.io/miniconda/Miniconda3-4.0.5-Linux-x86_64.sh | |
chmod +x Miniconda3-4.0.5-Linux-x86_64.sh | |
./Miniconda3-4.0.5-Linux-x86_64.sh | |
# Paste this in your .bashrc if it exists replace it | |
# >>> conda initialize >>> | |
# !! Contents within this block are managed by 'conda init' !! | |
__conda_setup="$('$HOME/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | |
if [ $? -eq 0 ]; then |
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
[user] | |
name = micabe | |
email = mickael@qare.io | |
[color] | |
ui = auto | |
[alias] | |
ac = !git add . && git commit -am | |
st = status | |
lg = log -10 --graph --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ar)%Creset' | |
ps = push --no-verify |