Skip to content

Commit b5aad34

Browse files
committed
add first duecredit item
1 parent 31e94b2 commit b5aad34

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

nipype/info.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
settings in setup.py, the nipy top-level docstring, and for building the
33
docs. In setup.py in particular, we exec this file, so it cannot import nipy
44
"""
5+
from .due import due, Doi
56

67
# nipy version information. An empty _version_extra corresponds to a
78
# full release. '.dev' as a _version_extra string means this is a development
@@ -101,6 +102,14 @@ def get_nipype_gitversion():
101102
* share your processing workflows with the community
102103
"""
103104

105+
# Use duecredit (duecredit.org) to provide a citation to relevant work to
106+
# be cited. This does nothing, unless the user has duecredit installed,
107+
# And calls this with duecredit (as in `python -m duecredit script.py`):
108+
due.cite(Doi("10.3389/fninf.2011.00013"),
109+
description="A flexible, lightweight and extensible neuroimaging data"
110+
" processing framework in Python",
111+
tags=["nipype"],)
112+
104113
# versions
105114
NIBABEL_MIN_VERSION = '2.0.1'
106115
NETWORKX_MIN_VERSION = '1.7'

0 commit comments

Comments
 (0)