-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
refactor: use 'better' logic for updating vertex attributes #1330
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good.
@clpippel: what do you think?
@clpippel friendly reminder if you have time and want to have a look 😸 |
@clpippel friendly reminder 😸 |
I am not sure this is OK. I tried:
The problem is that the class of index is `numeric' and the class of seq_len is 'integer'.
Assuming vcount(graph) is not double precision. This was also a surprise to me:
|
@maelle, @krlmlr, It seems consistent to apply the same changes to vertex.attributes() (line 512). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks both for looking into it!
fix: add missing imports
refactor: improve conditions Apply suggestions from code review Co-authored-by: Maëlle Salmon <[email protected]> make it numeric directly
Fix #1327