Skip to content

fix(BE): remove space in multi-source string for Elia link - #8803

Open
sankalpsthakur wants to merge 2 commits into
electricitymaps:masterfrom
sankalpsthakur:fix/be-source-link-comma
Open

fix(BE): remove space in multi-source string for Elia link#8803
sankalpsthakur wants to merge 2 commits into
electricitymaps:masterfrom
sankalpsthakur:fix/be-source-link-comma

Conversation

@sankalpsthakur

Copy link
Copy Markdown
Contributor

Summary

Validation

  • uv run pytest electricitymap/contrib/parsers/tests/test_BE.py -v — 5 passed
  • uv run ruff check / ruff format --check on changed files — clean

No filed issue for this specific regression, so referencing the introducing commit (#8787 / b47c731) and the prior matching fixes (#8800, #8801) instead of Fixes #N.

AI/LLM disclosure

  • AI coding tools (Claude Code, Anthropic) were used to help draft and verify this change and this PR description.
  • I reviewed the complete change, understand the reasoning, and ran the reported local tests before submitting.
  • This submission is original work of authorship under the project's contributor terms; AI output was not pasted unreviewed.

@sankalpsthakur
sankalpsthakur requested a review from a team as a code owner July 25, 2026 09:50
@github-actions github-actions Bot added the python Pull requests that update Python code label Jul 25, 2026
The merged production source was "entsoe.eu, opendata.elia.be" for
hours with storage data. When the app splits source attribution on
"," without trimming, the second name becomes " opendata.elia.be",
which is turned into a broken href with a %20 prefix.

Use a comma without a following space so both source names stay
clean. Same class of bug as electricitymaps#8779 / electricitymaps#8800 (GB) / electricitymaps#8801 (SG); the
comma-space was introduced here in electricitymaps#8787 (b47c731), which started
reporting a combined ENTSO-E/Elia source for hours with storage data.

Updates the BE production snapshot accordingly.
@sankalpsthakur
sankalpsthakur force-pushed the fix/be-source-link-comma branch from ca27e97 to 6703d37 Compare August 12, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant