Passed
Push — master ( ebfa9f...48e8a7 )
by Fernando
03:20
created

torchio.constants   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 14
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 0
1
# Image types
2
INTENSITY = 'intensity'
3
LABEL = 'label'
4
SAMPLING_MAP = 'sampling_map'
5
6
# Keys for dataset samples
7
PATH = 'path'
8
TYPE = 'type'
9
STEM = 'stem'
10
DATA = 'data'
11
AFFINE = 'affine'
12
13
# For aggregator
14
IMAGE = 'image'
15
LOCATION = 'location'
16
17
# In PyTorch convention
18
CHANNELS_DIMENSION = 1
19
20
# Code repository
21
REPO_URL = 'https://github.com/fepegar/torchio/'
22
23
# Data repository
24
DATA_REPO = 'https://github.com/fepegar/torchio-data/raw/master/data/'
25