nipoppy.config.hpc.HpcConfig

class nipoppy.config.hpc.HpcConfig(/, **data)

Schema for High-Performance Computing (HPC) system configuration.

Key-value pairs are passed to a Jinja template for the requested HPC job queue.

Any key can be used except for the following:
  • “queue”

  • “working_directory”

  • “command”

  • Anything that starts with “NIPOPPY_” (reserved for internal use)

Values are converted to strings except if they are None.

Parameters:

data (Any)

validate_after()

Validate the HPC configuration after instantiation.

Specifically: - Check that no reserved keywords are used - Convert all values to strings

Return type:

typing_extensions.Self

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].