Skip to content

Commit

Permalink
Force user to pick a tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Teves committed Dec 5, 2022
1 parent f7ee8db commit 4fc656f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ help:
@echo " all_tests to run 'lint', 'unittest', and 'integration'"

lint:
@flake8 tedana
@black --check --diff tedana
@flake8 tedana

unittest:
@py.test --skipintegration --cov-append --cov-report term-missing --cov=tedana tedana/
Expand Down
22 changes: 11 additions & 11 deletions tedana/workflows/tedana.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ def _get_parser():
help="Echo times (in ms). E.g., 15.0 39.0 63.0",
required=True,
)
required.add_argument(
"-t",
"--tree",
dest="tree",
help=(
"Decision tree to use. You may use a "
"packaged tree (kundu, minimal) or supply a JSON "
"file which matches the decision tree file "
"specification."
),
)
optional.add_argument(
"--out-dir",
dest="out_dir",
Expand Down Expand Up @@ -153,17 +164,6 @@ def _get_parser():
),
default="aic",
)
optional.add_argument(
"--tree",
dest="tree",
help=(
"Decision tree to use. You may use a "
"packaged tree (kundu, minimal) or supply a JSON "
"file which matches the decision tree file "
"specification."
),
default="minimal",
)
optional.add_argument(
"--seed",
dest="fixed_seed",
Expand Down

0 comments on commit 4fc656f

Please sign in to comment.