-
Notifications
You must be signed in to change notification settings - Fork 532
[DOC] Add duecredit references for AFNI and FSL. #1930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d9779eb
Merge remote-tracking branch 'nipy/master'
tsalo d496b3f
Merge remote-tracking branch 'nipy/master'
tsalo 75c65f1
Merge remote-tracking branch 'nipy/master'
tsalo dbac36d
Add duecredit citations for FSL, AFNI, 3dFWHMx.
tsalo 8fde7e2
Fix typo for Sphinx.
tsalo 381e8c6
Only include 2012 FSL paper in refs.
tsalo 81367a0
Merge remote-tracking branch 'nipy/master'
tsalo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
from ... import logging | ||
from ...utils.filemanip import fname_presuffix | ||
from ..base import traits, isdefined, CommandLine, CommandLineInputSpec | ||
from ...external.due import BibTeX | ||
|
||
LOGGER = logging.getLogger('interface') | ||
|
||
|
@@ -157,6 +158,48 @@ class FSLCommand(CommandLine): | |
input_spec = FSLCommandInputSpec | ||
_output_type = None | ||
|
||
references_ = [{'entry': BibTeX('@article{WoolrichJbabdiPatenaudeChappellMakniBehrens' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd say we should place only the Neuroimage 2012 reference at the top level, and then have the specific references with the corresponding interfaces. |
||
'BeckmannJenkinsonSmith2009,' | ||
'author={M.W. Woolrich, S. Jbabdi, B. Patenaude, M. Chappell, ' | ||
'S. Makni, T. Behrens, C. Beckmann, M. Jenkinson, and S.M. Smith},' | ||
'title={Bayesian analysis of neuroimaging data in FSL},' | ||
'journal={NeuroImage},' | ||
'volume={45},' | ||
'number={1},' | ||
'pages={S173-186},' | ||
'year={2009},' | ||
'}'), | ||
'tags': ['implementation'], | ||
}, | ||
{'entry': BibTeX('@article{SmithJenkinsonWoolrichBeckmannBehrensJohansen' | ||
'BergBannisterDeLucaDrobnjakFlitneyNiazySaundersVickers' | ||
'ZhangDeStefanoBradyMatthews2004,' | ||
'author={S.M. Smith, M. Jenkinson, M.W. Woolrich, C.F. Beckmann, ' | ||
'T.E.J. Behrens, H. Johansen-Berg, P.R. Bannister, M. De Luca, ' | ||
'I. Drobnjak, D.E. Flitney, R. Niazy, J. Saunders, J. Vickers, ' | ||
'Y. Zhang, N. De Stefano, J.M. Brady, and P.M. Matthews},' | ||
'title={Advances in functional and structural MR image analysis ' | ||
'and implementation as FSL},' | ||
'journal={NeuroImage},' | ||
'volume={23},' | ||
'number={S1},' | ||
'pages={208-219},' | ||
'year={2004},' | ||
'}'), | ||
'tags': ['implementation'], | ||
}, | ||
{'entry': BibTeX('@article{JenkinsonBeckmannBehrensWoolrichSmith2012,' | ||
'author={M. Jenkinson, C.F. Beckmann, T.E. Behrens, ' | ||
'M.W. Woolrich, and S.M. Smith},' | ||
'title={FSL},' | ||
'journal={NeuroImage},' | ||
'volume={62},' | ||
'pages={782-790},' | ||
'year={2012},' | ||
'}'), | ||
'tags': ['implementation'], | ||
}] | ||
|
||
def __init__(self, **inputs): | ||
super(FSLCommand, self).__init__(**inputs) | ||
self.inputs.on_trait_change(self._output_update, 'output_type') | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a tiny change: can you add a hyphen so sphinx does not raise a warning?