main.init_paradigm
copydraw.main.init_paradigm(data_root=None, script_root=None)Initialize a CopyDraw paradigm instance with configuration settings.
Loads the paradigm configuration from YAML file and creates a CopyDraw instance.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| data_root | str | Root directory for data storage. If None, uses value from config file. | None |
| script_root | str | Root directory for scripts and templates. If None, it defaults to the copydraw folder. | None |
Returns
| Name | Type | Description |
|---|---|---|
| CopyDraw | Initialized CopyDraw paradigm instance |