Passed
Push — master ( 178654...c7af60 )
by Fernando
01:30
created

SubjectMNI.download_root()   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nop 1
1
from ... import Subject
2
from ...utils import get_torchio_cache_dir
3
4
5
class SubjectMNI(Subject):
6
    """Atlases from the Montreal Neurological Institute (MNI).
7
8
    See `the website <http://nist.mni.mcgill.ca/?page_id=714>`_
9
    for more information.
10
    """
11
    url_base = 'http://packages.bic.mni.mcgill.ca/mni-models/'
12
13
    @property
14
    def download_root(self):
15
        return get_torchio_cache_dir() / self.name
16