Skip to content

Commit

Permalink
add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jan 3, 2024
1 parent 1969b87 commit 9adc165
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dcm2niix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@


def main(args=None, **run_kwargs):
"""
Arguments:
args: defaults to `sys.argv[1:]`.
**run_kwargs: passed to `subprocess.run`.
Returns: `subprocess.CompletedProcess` instance.
"""
if args is None:
import sys
args = sys.argv[1:]
Expand Down

0 comments on commit 9adc165

Please sign in to comment.