-
Notifications
You must be signed in to change notification settings - Fork 8
[com1;General] Add module name to simName #1226
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
base: master
Are you sure you want to change the base?
Conversation
|
Coverage Impact ⬆️ Merging this pull request will increase total coverage on Modified Components (1)
Modified Files with Diff Coverage (7)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
…imName` - Integrated `cfgUtils.parseSimName` to simplify extraction of simulation components across old and new formats. - Unified reconstruction logic for `simName` using parsed components and removed redundant conditions. - Updated corresponding logic in dataframe population to use parsed results for consistency. - Added extensive unit tests in `cfgUtils` to validate `parseSimName` functionality across different naming conventions and edge cases. - Minor refactors in test cases and `com1DFA` to align with new parsing logic. refactor(cfgUtils): streamline `parseSimName` to extract short module names - Updated `parseSimName` to extract short module names (e.g., "com1" instead of "com1DFA"). - Refactored multiple files to consistently use parsed components, replacing manual string parsing. - Modified tests to cover enhanced `parseSimName` behavior, removing dependency on legacy module patterns.
…odule name addition - Updated `cfgUtils` docstring with details about new and old simulation name formats, including components and structure. - Revised `com1DFA` documentation to reflect the addition of the short module name (`com1`) to simulation names - Noted backward compatibility with older naming conventions. refactor(fileHandlerUtils): replace `parsed` with `simNameParts` - Renamed variable `parsed` to `simNameParts` refactor(dfa2Aimec): simplify mass balance file sorting with lambda function
07f3d8d to
4f32040
Compare
1 new issue
|
- Adjusted simulation name structure in docstrings and parsing logic - Updated examples for old and new formats to remove redundant brackets around `defID`.

Currently, simulation names follow the format:
This format lacks information about which computational module generated the simulation, making it difficult to:
New Format
Add
modNameas the third component:Example:
release1_a1b2c3_C_S_ent_dfarelease1_a1b2c3_com1DFA_C_S_ent_dfaBackward Compatibility
Implement a centralized parser that: