Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add tox.ini, fix some pep8 errors
  • Loading branch information
oesteban committed Mar 12, 2018
1 parent 0218ef9 commit f97351c
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 14 deletions.
31 changes: 18 additions & 13 deletions mriqc/__about__.py
Expand Up @@ -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/'
Expand Down
1 change: 0 additions & 1 deletion mriqc/__init__.py
Expand Up @@ -43,4 +43,3 @@
'ants_nthreads': 6,
'float32': False
}

1 change: 1 addition & 0 deletions mriqc/data/config.py
Expand Up @@ -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"""

Expand Down
1 change: 1 addition & 0 deletions mriqc/data/csv/raters_merge.py
Expand Up @@ -6,6 +6,7 @@
# @Date: 2017-06-19 10:06:20
import pandas as pd


def get_parser():
"""Entry point"""
from argparse import ArgumentParser
Expand Down
8 changes: 8 additions & 0 deletions 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

0 comments on commit f97351c

Please sign in to comment.