Skip to content

Conversation

mart-r
Copy link
Collaborator

@mart-r mart-r commented Jul 18, 2025

This PR adds the following functionatlity:

  • Allows a config_dict to be passed to CAT.load_model_pack to merge a config before the pipe is initialised
  • Allows a addon_config_dict to be passed to CAT.load_model_pack to merge in addon-specific config(s) before addon initialisation
    • This expects the name (e.g meta_cat.Subject) to be mapped to the config for that addon
  • Allows addon_config_dict to be passed to CAT.load_addons to merge addon-specific config(s) before their initialisation
    • Similarly to the above
  • Adds a few tests regarding the above

@mart-r mart-r merged commit a8a5b35 into main Jul 18, 2025
18 checks passed
@mart-r mart-r deleted the CU-8699vkmu4-allow-load-metacat-with-config branch July 18, 2025 12:06
mart-r added a commit that referenced this pull request Jul 18, 2025
* CU-8699vkmu4: Add option to load MetaCATs with config

* CU-8699vkmu4: Add small test to make sure MetaCAT config is merged correctly

* CU-8699vkmu4: Allow model config when loading model pack

* CU-8699vkmu4: Add small tests for CAT model config addition

* CU-8699vkmu4: Allow merging in arbitrary addon configs upon model load if/when specified

* CU-8699vkmu4: Add small test for addon config merge upon CAT load

* CU-8699vkmu4: Make a method to a class method

* CU-8699vkmu4: Limit indentation

* CU-8699vkmu4: Generalis load_addons method to for all addons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant