Skip to content

Commit 3e399b1

Browse files
committed
ENH: Update CodeURL, HowToAcknowledge
1 parent 9997171 commit 3e399b1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

fmriprep/utils/bids.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,18 +198,20 @@ def _grp_echos(x):
198198

199199
def write_derivative_description(bids_dir, deriv_dir):
200200
from fmriprep import __version__
201+
from fmriprep.__about__ import DOWNLOAD_URL
201202

202203
desc = {
203204
'Name': 'fMRIPrep output',
204205
'BIDSVersion': '1.1.1',
205206
'PipelineDescription': {
206207
'Name': 'fMRIPrep',
207208
'Version': __version__,
208-
# We could parse the version to reference a commit or tag
209-
'CodeURL': 'https://github.com/poldracklab/fmriprep',
209+
'CodeURL': DOWNLOAD_URL,
210210
},
211211
'CodeURL': 'https://github.com/poldracklab/fmriprep',
212-
'HowToAcknowledge': 'https://github.com/poldracklab/fmriprep',
212+
'HowToAcknowledge': 'Please cite our paper '
213+
'(https://doi.org/10.1101/306951), and include the generated '
214+
'citation boilerplate within the Methods section of the text',
213215
}
214216

215217
# Keys that can only be set by environment

0 commit comments

Comments
 (0)