-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improve documentation. * More improvements. * Add glossary. * Keep working on docs. * Add API page. * More work. * Run isort. * Fix more stuff. * Fix module name. * Update conf.py * Reorg docs a bit. * Fix import. * Try this. * Revert attempted link. * Update example.rst * Address review. * Fix paths.
- Loading branch information
Showing
18 changed files
with
815 additions
and
463 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- | ||
# vi: set ft=python sts=4 ts=4 sw=4 et: | ||
"""Base module variables.""" | ||
try: | ||
from cubids._version import __version__ | ||
except ImportError: | ||
__version__ = "0+unknown" | ||
|
||
__packagename__ = "CuBIDS" | ||
__copyright__ = "Copyright 2023, The CuBIDS Developers" | ||
__credits__ = ( | ||
"Contributors: please check the ``.zenodo.json`` file at the top-level folder " | ||
"of the repository." | ||
) | ||
__url__ = "https://github.com/PennLINC/CuBIDS" | ||
|
||
DOWNLOAD_URL = f"https://github.com/PennLINC/{__packagename__}/archive/{__version__}.tar.gz" |
This file contains 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 |
---|---|---|
@@ -1,11 +1,28 @@ | ||
"""Top-level package for CuBIDS.""" | ||
|
||
__author__ = """PennLINC""" | ||
__email__ = "[email protected]" | ||
__version__ = "0.1.0" | ||
|
||
from cubids.cubids import CuBIDS | ||
from cubids import ( | ||
cli, | ||
config, | ||
constants, | ||
cubids, | ||
metadata_merge, | ||
utils, | ||
validator, | ||
workflows, | ||
) | ||
from cubids.__about__ import __copyright__, __credits__, __packagename__, __version__ | ||
|
||
__all__ = [ | ||
"CuBIDS", | ||
"__copyright__", | ||
"__credits__", | ||
"__packagename__", | ||
"__version__", | ||
"cli", | ||
"config", | ||
"constants", | ||
"cubids", | ||
"metadata_merge", | ||
"utils", | ||
"validator", | ||
"workflows", | ||
] |
This file contains 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 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 was deleted.
Oops, something went wrong.
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
.. include:: links.rst | ||
|
||
=== | ||
API | ||
=== | ||
|
||
********************************* | ||
:mod:`cubids.cubids`: Main Module | ||
********************************* | ||
|
||
.. currentmodule:: cubids | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: class.rst | ||
|
||
cubids.cubids.CuBIDS | ||
|
||
|
||
******************************************* | ||
:mod:`cubids.workflows`: Workflow Functions | ||
******************************************* | ||
|
||
.. currentmodule:: cubids | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: function.rst | ||
|
||
cubids.workflows.validate | ||
cubids.workflows.bids_sidecar_merge | ||
cubids.workflows.group | ||
cubids.workflows.apply | ||
cubids.workflows.datalad_save | ||
cubids.workflows.undo | ||
cubids.workflows.copy_exemplars | ||
cubids.workflows.add_nifti_info | ||
cubids.workflows.purge | ||
cubids.workflows.remove_metadata_fields | ||
cubids.workflows.print_metadata_fields | ||
|
||
|
||
********************************************** | ||
:mod:`cubids.metadata_merge`: Merging Metadata | ||
********************************************** | ||
|
||
.. currentmodule:: cubids | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: function.rst | ||
|
||
cubids.metadata_merge.check_merging_operations | ||
cubids.metadata_merge.merge_without_overwrite | ||
cubids.metadata_merge.merge_json_into_json | ||
cubids.metadata_merge.get_acq_dictionary | ||
cubids.metadata_merge.group_by_acquisition_sets | ||
|
||
|
||
*********************************** | ||
:mod:`cubids.validator`: Validation | ||
*********************************** | ||
|
||
.. currentmodule:: cubids | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: function.rst | ||
|
||
cubids.validator.build_validator_call | ||
cubids.validator.build_subject_paths | ||
cubids.validator.run_validator | ||
cubids.validator.parse_validator_output | ||
cubids.validator.get_val_dictionary |
This file contains 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
====================== | ||
Command Line Interface | ||
====================== | ||
|
||
.. code-block:: bash | ||
cubids --help | ||
This will print the instructions for using the command line interface in your command line. | ||
|
||
.. argparse:: | ||
:ref: cubids.cli._get_parser | ||
:prog: cubids | ||
:func: _get_parser |
Oops, something went wrong.