diff --git a/mriqc/__about__.py b/mriqc/__about__.py index d2ce972d9..2ab97fc64 100644 --- a/mriqc/__about__.py +++ b/mriqc/__about__.py @@ -20,19 +20,24 @@ __credits__ = 'Oscar Esteban' __license__ = '3-clause BSD' __status__ = 'Prototype' -__description__ = 'Automated Quality Control and visual reports for Quality Assesment of structural (T1w, T2w) and functional MRI of the brain' -__longdesc__ = ("MRIQC provides a series of image processing workflows " - "to extract and compute a series of NR (no-reference), IQMs " - "(image quality metrics) to be used in QAPs (quality " - "assessment protocols) for MRI (magnetic " - "resonance imaging). This open-source neuroimaging data " - "processing tool is being developed as a part of the MRI " - "image analysis and reproducibility platform offered by the " - "CRN. This pipeline derives from, and is heavily influenced " - "by, the PCP Quality Assessment Protocol. This tool extracts " - "a series of IQMs from structural and functional MRI data. " - "It is also scheduled to add diffusion MRI to the target " - "imaging families.") +__description__ = """\ +Automated Quality Control and visual reports for Quality Assesment of structural (T1w, T2w) \ +and functional MRI of the brain\ +""" +__longdesc__ = """\ +MRIQC provides a series of image processing workflows \ +to extract and compute a series of NR (no-reference), IQMs \ +(image quality metrics) to be used in QAPs (quality \ +assessment protocols) for MRI (magnetic \ +resonance imaging). This open-source neuroimaging data \ +processing tool is being developed as a part of the MRI \ +image analysis and reproducibility platform offered by the \ +CRN. This pipeline derives from, and is heavily influenced \ +by, the PCP Quality Assessment Protocol. This tool extracts \ +a series of IQMs from structural and functional MRI data. \ +It is also scheduled to add diffusion MRI to the target \ +imaging families.\ +""" __url__ = 'http://mriqc.readthedocs.org/' __download__ = ('https://github.com/poldracklab/mriqc/archive/' diff --git a/mriqc/__init__.py b/mriqc/__init__.py index 4b27e4aa2..20807dfd7 100644 --- a/mriqc/__init__.py +++ b/mriqc/__init__.py @@ -43,4 +43,3 @@ 'ants_nthreads': 6, 'float32': False } - diff --git a/mriqc/data/config.py b/mriqc/data/config.py index 5524b8840..369c4dbf7 100644 --- a/mriqc/data/config.py +++ b/mriqc/data/config.py @@ -41,6 +41,7 @@ class IndividualTemplate(Template): def __init__(self): super(IndividualTemplate, self).__init__(pkgrf('mriqc', 'data/reports/individual.html')) + class GroupTemplate(Template): """Specific template for the individual report""" diff --git a/mriqc/data/csv/raters_merge.py b/mriqc/data/csv/raters_merge.py index 7df8bc3e6..979a1a891 100644 --- a/mriqc/data/csv/raters_merge.py +++ b/mriqc/data/csv/raters_merge.py @@ -6,6 +6,7 @@ # @Date: 2017-06-19 10:06:20 import pandas as pd + def get_parser(): """Entry point""" from argparse import ArgumentParser diff --git a/tox.ini b/tox.ini new file mode 100644 index 000000000..5a39a2756 --- /dev/null +++ b/tox.ini @@ -0,0 +1,8 @@ +[flake8] +max-line-length = 99 +doctests = True +exclude=*build/ +putty-ignore = + */__init__.py : +F401 + docs/conf.py : +E265 + /^\s*\.\. _.*?: http/ : +E501