66applying changes, purging associations, adding NIfTI information, copying exemplar
77subjects, undoing changes, saving with DataLad, and managing metadata fields.
88
9- Each function that serves as an entry point for a CLI command in the formart of `cubids-function`
10- is marked as deprecated and will be removed in the future. Users are advised to use the corresponding
9+ Each function that serves as an entry point for a CLI command in the formart of `cubids-function`
10+ is marked as deprecated and will be removed in the future. Users are advised to use the corresponding
1111`cubids function` commands instead.
1212"""
1313
@@ -269,8 +269,8 @@ def _parse_bids_version():
269269def _enter_bids_version (argv = None ):
270270 """Entry point for the deprecated `cubids-bids-version`.
271271
272- This function serves as the entry point for the BIDS version command-line
273- functionality. It parses command-line arguments, issues a deprecation
272+ This function serves as the entry point for the BIDS version command-line
273+ functionality. It parses command-line arguments, issues a deprecation
274274 warning, and invokes the corresponding workflow.
275275
276276 Parameters
@@ -285,7 +285,7 @@ def _enter_bids_version(argv=None):
285285 Warns
286286 -----
287287 DeprecationWarning
288- Indicates that the `cubids-bids-version` command is deprecated and
288+ Indicates that the `cubids-bids-version` command is deprecated and
289289 will be removed in the future.
290290 """
291291 warnings .warn (
@@ -346,7 +346,7 @@ def _enter_bids_sidecar_merge(argv=None):
346346 """Entry point for the deprecated `cubids-bids-sidecar-merge command`.
347347
348348 This function serves as the entry point for the `cubids-bids-sidecar-merge`.
349- It parses command-line arguments, issues a deprecation
349+ It parses command-line arguments, issues a deprecation
350350 warning, and invokes the corresponding workflow.
351351
352352 Parameters
@@ -357,7 +357,7 @@ def _enter_bids_sidecar_merge(argv=None):
357357 Warns
358358 -----
359359 DeprecationWarning
360- Indicates that the `bids-sidecar-merge` command is deprecated and
360+ Indicates that the `bids-sidecar-merge` command is deprecated and
361361 will be removed in the future.
362362 """
363363 warnings .warn (
@@ -459,8 +459,8 @@ def _enter_group(argv=None):
459459 """Entry point for the deprecated `cubids-group` command.
460460
461461 This function issues a deprecation warning indicating that `cubids-group`
462- is deprecated and will be removed in the future. It then parses the
463- command-line arguments and invokes the `group` workflow with the parsed
462+ is deprecated and will be removed in the future. It then parses the
463+ command-line arguments and invokes the `group` workflow with the parsed
464464 arguments.
465465
466466 Parameters
@@ -471,7 +471,7 @@ def _enter_group(argv=None):
471471 Warns
472472 -----
473473 DeprecationWarning
474- Indicates that 'cubids-group' is deprecated and will be removed in
474+ Indicates that 'cubids-group' is deprecated and will be removed in
475475 the future.
476476
477477 Returns
@@ -491,7 +491,7 @@ def _enter_group(argv=None):
491491def _parse_apply ():
492492 """Parse command-line arguments for the `cubids apply` command.
493493
494- This function sets up an argument parser for the `cubids apply` command,
494+ This function sets up an argument parser for the `cubids apply` command,
495495 which applies changes specified in a TSV file to a BIDS directory.
496496
497497 Returns
@@ -688,8 +688,8 @@ def _parse_datalad_save():
688688def _enter_datalad_save (argv = None ):
689689 """Entry point for the deprecated `cubids-datalad-save` command.
690690
691- This function serves as a warning that the `cubids-datalad-save` command is deprecated
692- and will be removed in the future. It parses the command-line arguments and calls
691+ This function serves as a warning that the `cubids-datalad-save` command is deprecated
692+ and will be removed in the future. It parses the command-line arguments and calls
693693 the `datalad_save` workflow with the parsed arguments.
694694
695695 Parameters
@@ -920,8 +920,8 @@ def _parse_copy_exemplars():
920920def _enter_copy_exemplars (argv = None ):
921921 """Entry point for the deprecated `cubids-copy-exemplars` command.
922922
923- This function is deprecated and will be removed in the future.
924- It parses command-line arguments and invokes the `copy_exemplars`
923+ This function is deprecated and will be removed in the future.
924+ It parses command-line arguments and invokes the `copy_exemplars`
925925 workflow with the parsed arguments.
926926
927927 Parameters
@@ -1011,7 +1011,7 @@ def _parse_add_nifti_info():
10111011def _enter_add_nifti_info (argv = None ):
10121012 """Entry point for the deprecated `cubids-add-nifti-info` command.
10131013
1014- This function is deprecated and will be removed in the future.
1014+ This function is deprecated and will be removed in the future.
10151015 Please use `cubids add-nifti-info` instead.
10161016
10171017 Parameters
@@ -1026,7 +1026,7 @@ def _enter_add_nifti_info(argv=None):
10261026
10271027 Notes
10281028 -----
1029- This function parses command line arguments and invokes the
1029+ This function parses command line arguments and invokes the
10301030 `add_nifti_info` workflow with the parsed arguments.
10311031 """
10321032 warnings .warn (
@@ -1043,8 +1043,8 @@ def _enter_add_nifti_info(argv=None):
10431043def _parse_purge ():
10441044 """Parse command-line arguments for the `cubids purge` command.
10451045
1046- This function sets up an argument parser for the `cubids purge` command,
1047- which is used to purge associations from a BIDS dataset. It defines the
1046+ This function sets up an argument parser for the `cubids purge` command,
1047+ which is used to purge associations from a BIDS dataset. It defines the
10481048 required arguments and options for the command.
10491049
10501050 Returns
@@ -1109,7 +1109,7 @@ def _parse_purge():
11091109def _enter_purge (argv = None ):
11101110 """Entry point for the deprecated `cubids-purge` command.
11111111
1112- This function is deprecated and will be removed in the future.
1112+ This function is deprecated and will be removed in the future.
11131113 Please use `cubids purge` instead.
11141114
11151115 Parameters
@@ -1124,7 +1124,7 @@ def _enter_purge(argv=None):
11241124
11251125 Notes
11261126 -----
1127- This function parses the command-line arguments and calls the
1127+ This function parses the command-line arguments and calls the
11281128 `workflows.purge` function with the parsed arguments.
11291129 """
11301130 warnings .warn (
@@ -1197,9 +1197,9 @@ def _parse_remove_metadata_fields():
11971197def _enter_remove_metadata_fields (argv = None ):
11981198 """Entry point for the deprecated `cubids-remove-metadata-fields` command.
11991199
1200- This function serves as the entry point for the deprecated
1201- `cubids-remove-metadata-fields` command-line interface (CLI). It issues a
1202- deprecation warning and then parses the provided arguments to execute the
1200+ This function serves as the entry point for the deprecated
1201+ `cubids-remove-metadata-fields` command-line interface (CLI). It issues a
1202+ deprecation warning and then parses the provided arguments to execute the
12031203 `remove_metadata_fields` workflow.
12041204
12051205 Parameters
@@ -1210,7 +1210,7 @@ def _enter_remove_metadata_fields(argv=None):
12101210 Warns
12111211 -----
12121212 DeprecationWarning
1213- Indicates that the `cubids-remove-metadata-fields` CLI is deprecated and
1213+ Indicates that the `cubids-remove-metadata-fields` CLI is deprecated and
12141214 will be removed in the future. Users are advised to use `cubids remove-metadata-fields` instead.
12151215
12161216 See Also
@@ -1279,7 +1279,7 @@ def _enter_print_metadata_fields(argv=None):
12791279 """Entry point for the deprecated `cubids-print-metadata-fields` command.
12801280
12811281 This function parses the command-line arguments for `cubids-print-metadata-fields`,
1282- issues a deprecation warning, and then calls the `print_metadata_fields`
1282+ issues a deprecation warning, and then calls the `print_metadata_fields`
12831283 function from the `workflows` module with the parsed arguments.
12841284
12851285 Parameters
@@ -1291,7 +1291,7 @@ def _enter_print_metadata_fields(argv=None):
12911291 Warns
12921292 -----
12931293 DeprecationWarning
1294- Indicates that the `cubids-print-metadata-fields` command is deprecated
1294+ Indicates that the `cubids-print-metadata-fields` command is deprecated
12951295 and will be removed in the future.
12961296
12971297 See Also
0 commit comments