nipoppy.container.BareMetalHandler

class nipoppy.container.BareMetalHandler(args=None)

Handler for bare metal execution (no container).

Parameters:

args (Iterable[str])

add_env_arg(key, value)

Set environment variable.

Parameters:
abstractmethod get_pull_command(uri, fpath_container)

Should not be used.

Parameters:
Return type:

str

abstractmethod get_pull_confirmation_prompt(fpath_container)

Should not be used.

Parameters:

fpath_container (nipoppy.env.StrOrPathLike)

Return type:

str

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:
Return type:

bool

bind_flags = NotImplemented

Flag for binding paths.

command = NotImplemented

Container executable name.