Skip to content

Commit

Permalink
DOC: update link to glasser supplementary info; convert to footbib (m…
Browse files Browse the repository at this point in the history
…ne-tools#7864)

* update link to glasser supplementary info; convert to footbib

* fix capitalization [skip travis]

* pin pyvista to 0.24

* change citekey

* pin pyvista in both places 🤦
  • Loading branch information
drammock authored Jun 5, 2020
1 parent 89647f3 commit 121364d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
12 changes: 11 additions & 1 deletion doc/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,17 @@ @article{GlasserEtAl2016
journal = {Nature},
number = {7615},
pages = {171-178},
title = {A Multi-Modal Parcellation of Human Cerebral Cortex},
title = {A multi-modal parcellation of human cerebral cortex},
volume = {536},
year = {2016}
}

@article{GlasserEtAl2016supp,
author = {Glasser, Matthew F. and Coalson, Timothy S. and Robinson, Emma C. and Hacker, Carl D. and Harwell, John and Yacoub, Essa and Ugurbil, Kamil and Andersson, Jesper and Beckmann, Christian F. and Jenkinson, Mark and Smith, Stephen M. and Van Essen, David C.},
url = {https://static-content.springer.com/esm/art%3A10.1038%2Fnature18933/MediaObjects/41586_2016_BFnature18933_MOESM330_ESM.pdf#page=2},
journal = {Nature},
number = {7615},
title = {Supplementary neuroanatomical results for “{A} multi-modal parcellation of human cerebral cortex”},
volume = {536},
year = {2016}
}
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies:
- https://github.com/numpy/numpydoc/archive/master.zip
- imageio-ffmpeg>=0.4.1
- vtk
- pyvista>=0.24
- pyvista==0.24
- https://github.com/enthought/mayavi/archive/master.zip
- PySurfer[save_movie]
- dipy --only-binary dipy
Expand Down
17 changes: 7 additions & 10 deletions mne/datasets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,9 @@ def fetch_aparc_sub_parcellation(subjects_dir=None, verbose=None):
def fetch_hcp_mmp_parcellation(subjects_dir=None, combine=True, verbose=None):
"""Fetch the HCP-MMP parcellation.
This will download and install the HCP-MMP parcellation [1]_ files for
FreeSurfer's fsaverage [2]_ to the specified directory.
This will download and install the HCP-MMP parcellation
:footcite:`GlasserEtAl2016` files for FreeSurfer's fsaverage
:footcite:`Mills2016` to the specified directory.
Parameters
----------
Expand All @@ -661,7 +662,8 @@ def fetch_hcp_mmp_parcellation(subjects_dir=None, combine=True, verbose=None):
``subjects_dir + '/fsaverage/label'``.
combine : bool
If True, also produce the combined/reduced set of 23 labels per
hemisphere as ``HCPMMP1_combined.annot`` [3]_.
hemisphere as ``HCPMMP1_combined.annot``
:footcite:`GlasserEtAl2016supp`.
%(verbose)s
Notes
Expand All @@ -671,13 +673,8 @@ def fetch_hcp_mmp_parcellation(subjects_dir=None, combine=True, verbose=None):
References
----------
.. [1] Glasser MF et al. (2016) A multi-modal parcellation of human
cerebral cortex. Nature 536:171-178.
.. [2] Mills K (2016) HCP-MMP1.0 projected on fsaverage.
https://figshare.com/articles/HCP-MMP1_0_projected_on_fsaverage/3498446/2
.. [3] Glasser MF et al. (2016) Supplemental information.
https://images.nature.com/full/nature-assets/nature/journal/v536/n7615/extref/nature18933-s3.pdf
""" # noqa: E501
.. footbibliography::
"""
subjects_dir = get_subjects_dir(subjects_dir, raise_error=True)
destination = op.join(subjects_dir, 'fsaverage', 'label')
fnames = [op.join(destination, '%s.HCPMMP1.annot' % hemi)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ flake8
https://github.com/mcmtroffaes/sphinxcontrib-bibtex/archive/29694f215b39d64a31b845aafd9ff2ae9329494f.zip
imageio>=2.6.1
imageio-ffmpeg>=0.4.1
pyvista>=0.24
pyvista==0.24
tqdm

0 comments on commit 121364d

Please sign in to comment.