diff --git a/docs/source/6_api_reference/api.rst b/docs/source/6_api_reference/api.rst index 639fd09bd..c85eb4285 100644 --- a/docs/source/6_api_reference/api.rst +++ b/docs/source/6_api_reference/api.rst @@ -50,3 +50,6 @@ misc .. automodule:: shimmingtoolbox.cli.download_data :members: + +.. automodule:: shimmingtoolbox.cli.dicom_to_nifti + :members: diff --git a/shimmingtoolbox/cli/dicom_to_nifti.py b/shimmingtoolbox/cli/dicom_to_nifti.py index 3b032a92c..3cf9c5186 100644 --- a/shimmingtoolbox/cli/dicom_to_nifti.py +++ b/shimmingtoolbox/cli/dicom_to_nifti.py @@ -21,7 +21,7 @@ @click.option('-remove_tmp/-dont_remove_tmp', default=False, help="Specifies if tmp folder will be deleted after processing") def dicom_to_nifti_cli(path_dicoms, path_nifti, subject, fname_config, remove_tmp): - """Converts dicom files into nifti files by calling dcm2bids.""" + """Converts dicom files into nifti files by calling ``dcm2bids``.""" dicom_to_nifti(path_dicoms, path_nifti, subject_id=subject, path_config_dcm2bids=fname_config, remove_tmp=remove_tmp)