This repository was archived by the owner on Dec 27, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
3
3
"""Console script for dmriprep."""
4
+ import os
4
5
import sys
6
+ import warnings
7
+
5
8
import click
6
- from . import run
9
+
7
10
from . import io
11
+ from . import run
8
12
from .data import get_dataset
9
- import os
10
- import warnings
11
13
12
14
# Filter warnings that are visible whenever you import another package that
13
15
# was compiled against an older numpy than is installed.
Original file line number Diff line number Diff line change 2
2
BIDS-functions to return inputs for the run.py functions.
3
3
4
4
"""
5
- from glob import glob
6
5
import os
7
6
import os .path as op
7
+ from glob import glob
8
+
8
9
import bids
9
10
10
11
Original file line number Diff line number Diff line change 1
- import nibabel as nib
2
- import numpy as np
1
+ import base64
3
2
import os .path as op
4
- from dipy .segment .mask import median_otsu
5
3
from io import BytesIO
6
- from nipype .utils .filemanip import save_json , load_json
7
- import base64
4
+
8
5
import matplotlib
9
6
matplotlib .use ('agg' )
10
7
import matplotlib .pyplot as plt
8
+ import nibabel as nib
9
+ import numpy as np
10
+
11
+ from dipy .segment .mask import median_otsu
12
+ from nipype .utils .filemanip import save_json , load_json
11
13
12
14
13
15
def reorient_array (data , aff ):
Original file line number Diff line number Diff line change 1
- import os .path as op
2
1
import os
2
+ import os .path as op
3
3
from shutil import copyfile
4
4
5
5
You can’t perform that action at this time.
0 commit comments