Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhenqi77 committed May 22, 2024
1 parent 2b0164b commit 19e208d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
17 changes: 9 additions & 8 deletions neuromaps/datasets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
"""Functions for fetching datasets."""

__all__ = [
'fetch_all_atlases', 'fetch_atlas', 'fetch_civet', 'fetch_fsaverage',
'fetch_fslr', 'fetch_mni152', 'fetch_regfusion', 'get_atlas_dir',
'DENSITIES', 'ALIAS', 'available_annotations', 'available_tags',
'fetch_annotation', "get_annotations_desc", "get_annotations_summary",
"get_annotations_report"
]

from .atlases import (fetch_all_atlases, fetch_atlas, fetch_civet,
fetch_fsaverage, fetch_fslr, fetch_mni152,
fetch_regfusion, get_atlas_dir, DENSITIES, ALIAS)
from .annotations import (
available_annotations, available_tags, fetch_annotation
available_annotations, available_tags, fetch_annotation, describe_annotations
)


__all__ = [
'fetch_all_atlases', 'fetch_atlas', 'fetch_civet', 'fetch_fsaverage',
'fetch_fslr', 'fetch_mni152', 'fetch_regfusion', 'get_atlas_dir',
'DENSITIES', 'ALIAS', 'available_annotations', 'available_tags',
'fetch_annotation', "describe_annotations"
]
9 changes: 9 additions & 0 deletions neuromaps/datasets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,15 @@ def _get_osf_url(fname, project, token=None):


def _check_meta_json():
"""
Check for errors in meta.json.
For internal use only.
Returns
-------
None
"""
# reload the datasets and meta json files
NEUROMAPS_DATASETS = _load_resource_json('datasets/data/osf.json')
NEUROMAPS_DATASETS = _osfify_urls(NEUROMAPS_DATASETS, return_restricted=True)
Expand Down

0 comments on commit 19e208d

Please sign in to comment.