Skip to content
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

Draft: custom parsing, serialization and matching in INI file nodes #2310

Draft
wants to merge 2 commits into
base: fix/lower-case-issues
Choose a base branch
from

Conversation

sylvlecl
Copy link
Member

@sylvlecl sylvlecl commented Jan 22, 2025

Trying to rationalize a little on top of #2283 👍

  • introduce custom parsers and serializers in ini readers and writers
  • introduce a custom way of matching sections in INI file nodes ...

For cluster files, we should have cluster names as section names, to be consistent with simulator parsing.
However, in past versions we have stored versions with either ID or upper case IDs in those section names.
Therefore we need to have a strategy to handle compatibility for those studies. When matching, we should be able to convert to ID and perform matching on ID, since they need to be unique anyway.

Signed-off-by: Sylvain Leclerc <sylvain.leclerc@rte-france.com>
…format

Signed-off-by: Sylvain Leclerc <sylvain.leclerc@rte-france.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant