Skip to content

Commit

Permalink
Add auto mode for input files in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
maestroque committed Sep 3, 2024
1 parent 85be699 commit abd4c93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion phys2denoise/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def _get_parser():
dest="mode",
type=str,
help="Format of the input physiological data. Options are: "
"physio or bids. Default is physio.",
"auto, physio or bids. Default is auto, which determines the input file mode automatically.",
default="auto",
)

# Important optional arguments
Expand Down
2 changes: 1 addition & 1 deletion phys2denoise/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def build(
metrics,
metric_args,
metrics_to_export,
mode="physio",
mode="auto",
fs=None,
bids_parameters=dict(),
bids_channel=None,
Expand Down

0 comments on commit abd4c93

Please sign in to comment.