Skip to content

Differ updates and fixes - #2135

Open
vish-cs wants to merge 2 commits into
datacommonsorg:masterfrom
vish-cs:diff
Open

Differ updates and fixes#2135
vish-cs wants to merge 2 commits into
datacommonsorg:masterfrom
vish-cs:diff

Conversation

@vish-cs

@vish-cs vish-cs commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR makes the following changes to the differ:
a) Added a new output file containing the original values of modified nodes (for debugging)
b) Updated MCF parsing logic to handle quoted strings cleanly
c) Fixes the differ counter names to check for SKIP state in the executor

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new output file, nodes-original.mcf, to the import differ tool to capture the original values of modified MCF nodes before modification. It also updates the list parsing and string representation logic in differ_utils.py and import_differ.py. The review feedback highlights that the new logic for parsing comma-separated lists is fragile and fails to handle lists of quoted strings correctly, suggesting a more robust regex-based approach.

Comment thread tools/import_differ/differ_utils.py Outdated
Comment thread tools/import_differ/differ_utils.py Outdated
Comment thread tools/import_differ/import_differ.py Outdated
@vish-cs
vish-cs requested a review from ajaits August 6, 2026 03:21
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.

2 participants