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 numpy as np | |
from multiprocessing import freeze_support | |
from joblib import Parallel, delayed, parallel_backend | |
# this works | |
backend1 = 'threading' |
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 nibabel as nib | |
import sys | |
if len(sys.argv) <= 2: | |
print('Usage : strip_comments_from_nifti.py input_file output_file') | |
exit() | |
infile, outfile = sys.argv[1:] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
% Sam : Original is hosted here https://code.launchpad.net/~tex-sx/tex-sx/development | |
% run latex/pdflatex on the dtx file to produce the class file | |
% \iffalse meta-comment | |
%<*internal> | |
\def\nameofplainTeX{plain} | |
\ifx\fmtname\nameofplainTeX\else | |
\expandafter\begingroup | |
\fi | |
%</internal> |