nipoppy.workflows.dataset_init

Workflow for init command.

Classes

InitWorkflow

Workflow for init command.

Module Contents

nipoppy.workflows.dataset_init.copy_template(path_source, path_dest, *, dry_run=False, **template_kwargs)

Copy a file with template substitution.

Parameters:
  • path_source (pathlib.Path) – Source template file path

  • path_dest (pathlib.Path) – Destination file path

  • **template_kwargs – Keyword arguments passed to process_template_str for substitution

  • dry_run (bool)

nipoppy.workflows.dataset_init.logger