nipoppy.container.BareMetalHandler¶
- class nipoppy.container.BareMetalHandler(args=None)¶
Handler for bare metal execution (no container).
- Parameters:
args (collections.abc.Iterable[str])
- add_bind_arg(path_src, path_dest=None, mode='rw')¶
Add a bind path to the container args.
Does not do anything since this is bare metal execution.
- Parameters:
path_src (nipoppy.env.StrOrPathLike)
path_dest (nipoppy.env.StrOrPathLike | None)
mode (str | None)
- abstractmethod get_pull_command(uri, fpath_container)¶
Should not be used.
- Parameters:
uri (str | None)
fpath_container (nipoppy.env.StrOrPathLike | None)
- Return type:
- abstractmethod get_pull_confirmation_prompt(fpath_container)¶
Should not be used.
- Parameters:
fpath_container (nipoppy.env.StrOrPathLike)
- Return type:
- is_image_downloaded(uri, fpath_container)¶
Check if a container image has been downloaded.
Always returns True since bare metal execution does not need image.
- Parameters:
uri (str | None)
fpath_container (nipoppy.env.StrOrPathLike | None)
- Return type:
- bind_flags = NotImplemented¶
Flag for binding paths.
- command = NotImplemented¶
Container executable name.