-
Notifications
You must be signed in to change notification settings - Fork 9
[com1] Add cfg override folder / expert configuration #1230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
❌ 1 blocking issue (5 total)
@qltysh one-click actions:
|
|
Coverage Impact ⬇️ Merging this pull request will decrease total coverage on Modified Components (1)
Modified Files with Diff Coverage (10)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
…verride` keyword argument - Updated all `cfgUtils.getModuleConfig` calls to use the explicit `fileOverride` parameter
… calls - Updated all instances of `cfgUtils.getModuleConfig` to include the `avalancheDir` parameter
…NotInOverride` functions along with associated tests
c67d2d3 to
22e34cb
Compare
…o` parameters from `getModuleConfig` calls
- Cleaned up calls to `cfgUtils.getModuleConfig` by removing redundant `fileOverride` and `modInfo` arguments across multiple scripts and modules.
- Addressed AW comments
fix(com1DFA): update module exclusion condition in `getModuleNames`
- Adjusted logic to exclude all modules under the `com1DFA` package using `startswith("avaframe.com1DFA")` instead of an exact match
…plify config handling - Removed `checkCfgInfoType` from `com1DFATools.py` and related calls across `com1DFA` modules. - Replaced redundant type checks with direct handling of `cfgInfo` as `ConfigParser`, `Path`, or string. - Extennd `getModuleConfig to support `batchCfgDir` for directory-based batch processing. - Updated related tests refactor(tests, com1DFA,com3): simplify config handling and improve simulation calls - Replaced redundant `fileOverride` usage in test configurations with direct `cfg` handling. - Updated multiple test scripts to streamline `com1DFAMain` calls - Adjusted hybrid module to directly modify config values, removing `ConfigUpdater` dependency. refactor(com1DFA): improve code readability and fix logging messages; comments AW - Introduced a deep copy for `com1DFA` configuration to prevent unintended mutations - `getModuleConfig` priority documentation and logic handling - Added warning for ignored friction calibration in expert mode
74f59cf to
75c58e5
Compare
|
Standardtests ident |

over local config files
avalancheDir arguments
Documentation update follows in a separate PR.