Skip to content

refactor: Improve logic for updating edge attributes#1915

Merged
krlmlr merged 4 commits intomainfrom
fix-edge-attr-loop
Jul 10, 2025
Merged

refactor: Improve logic for updating edge attributes#1915
krlmlr merged 4 commits intomainfrom
fix-edge-attr-loop

Conversation

@schochastics
Copy link
Copy Markdown
Contributor

Fix #1332
similar to #1330

@maelle I essentially copy pasted the vertex logic. Did I miss any stepping stones here?

Copy link
Copy Markdown
Contributor

@maelle maelle left a comment

Choose a reason for hiding this comment

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

Thank you!

Do we have tests covering this part of the code?

Comment thread R/attributes.R
Comment thread R/attributes.R Outdated
Comment thread R/attributes.R Outdated
@schochastics schochastics added this to the 2.2.0 milestone Jul 8, 2025
@krlmlr
Copy link
Copy Markdown
Contributor

krlmlr commented Jul 10, 2025

Thanks. Let's do index_is_natural_vertex_sequence() and index_is_natural_edge_sequence() in close proximity.

@schochastics
Copy link
Copy Markdown
Contributor Author

schochastics commented Jul 10, 2025

@krlmlr done. merge if checks ok?

@krlmlr krlmlr changed the title refactor: use 'better' logic for updating edge attributes refactor: Improve logic for updating edge attributes Jul 10, 2025
@krlmlr krlmlr merged commit 6502774 into main Jul 10, 2025
6 checks passed
@krlmlr krlmlr deleted the fix-edge-attr-loop branch July 10, 2025 13:32
@krlmlr
Copy link
Copy Markdown
Contributor

krlmlr commented Jul 10, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor other loop in attributes.R

3 participants