Skip to content

Resolve procedural config to static json and use that for params - #61

Merged
lenzo-ka merged 3 commits into
masterfrom
kal-resolve-config
Jun 4, 2026
Merged

lenzo-ka merged 3 commits into
masterfrom
kal-resolve-config

Conversation

@lenzo-ka

@lenzo-ka lenzo-ka commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Flatten config and use consistently

There has been drift between the perl and python due to the procedural nature of sphinx_train.cfg.

This PR introduces processing that turns that config into a namespace, then writes the resulting variables, both derived and global, into a .resolved.json file, and then downstream scripts in perl and/or python then use the common declaration.

It is expected that the .cfg file will be edited after setup, and the process is arranged to account for that.

@lenzo-ka
lenzo-ka merged commit 9c66bf6 into master Jun 4, 2026
8 checks passed
@lenzo-ka
lenzo-ka deleted the kal-resolve-config branch June 4, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant