Skip to content
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

[REF] Merge CLI into workflows #100

Merged
merged 7 commits into from
Jul 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ API
:template: function.rst
:toctree: generated/

tedana.workflows.tedana
tedana.workflows.t2smap
tedana.workflows.tedana_workflow
tedana.workflows.t2smap_workflow

.. currentmodule:: tedana

Expand Down
12 changes: 6 additions & 6 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ Run tedana
This is the full tedana workflow, which runs multi-echo ICA and outputs
multi-echo denoised data along with many other derivatives.
To see which files are generated by this workflow, check out the workflow
documentation: :py:func:`tedana.workflows.tedana`.
documentation: :py:func:`tedana.workflows.tedana_workflow`.

.. argparse::
:ref: tedana.cli.run_tedana.get_parser
:ref: tedana.workflows.tedana._get_parser
:prog: tedana
:func: get_parser
:func: _get_parser

Run t2smap
----------
This workflow uses multi-echo data to optimally combine data across echoes and\
to estimate T2* and S0 maps or time series.
To see which files are generated by this workflow, check out the workflow
documentation: :py:func:`tedana.workflows.t2smap`.
documentation: :py:func:`tedana.workflows.t2smap_workflow`.

.. argparse::
:ref: tedana.cli.run_t2smap.get_parser
:ref: tedana.workflows.t2smap._get_parser
:prog: t2smap
:func: get_parser
:func: _get_parser
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def main():
tests_require=ldict['TESTS_REQUIRES'],
extras_require=ldict['EXTRA_REQUIRES'],
entry_points={'console_scripts': [
't2smap=tedana.cli.run_t2smap:main',
'tedana=tedana.cli.run_tedana:main'
't2smap=tedana.workflows.t2smap:_main',
'tedana=tedana.workflows.tedana:_main'
]},
packages=find_packages(exclude=("tests",)),
package_data=ldict['PACKAGE_DATA'],
Expand Down
2 changes: 0 additions & 2 deletions tedana/cli/__init__.py

This file was deleted.

88 changes: 0 additions & 88 deletions tedana/cli/run_t2smap.py

This file was deleted.

185 changes: 0 additions & 185 deletions tedana/cli/run_tedana.py

This file was deleted.

1 change: 1 addition & 0 deletions tedana/tests/test_model_combine.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for tedana.model.combine
"""

import numpy as np

from tedana.model import combine
Expand Down
1 change: 1 addition & 0 deletions tedana/tests/test_model_fit.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for tedana.model.fit
"""

import numpy as np

from tedana.model import fit
Expand Down
1 change: 1 addition & 0 deletions tedana/tests/test_model_monoexponential.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for tedana.model.monoexponential
"""

import os.path as op

import pytest
Expand Down
Loading