Replies: 3 comments
-
Hi @marcomusy , thanks for tagging me here, I'll be on the lookout 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I saw one mistake in renaming just now. The descriptions of return values of fit function in the api docs on web had changed but the libs doesn't. For example, fitd.data_sigma should be kept fitd.dataSigma in coding. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hopefully vtk won't change to snake_case convention any time soon - I have already had much fun with adapting old vedo codes 🤪 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
vedo
users :)as the python community is slowly but steadily abandoning the
camelCase
convention for variable names in favor of the most widely adoptedsnake_case
convention I have updated methods and keywords names in the library to follow the PEP8 guidelines.Hence code like this (in vedo==2022.3.1):
now becomes (in vedo==2022.4.1):
To make the transition as painless as possible I tried to add as many warnings as possible and to maintain backward compatibility, but there might be cases when your code is no more backward compatible (the changes needed are only a renaming, by substituting uppercase names with an underscore _ and lowercase letter).
Let me know if you encounter any difficulty in the process!
Thanks for your patience!
@gioda @jo-mueller @RubendeBruin @manu @ivan-marroquin @ManuGraiph @antmatyjajo
Beta Was this translation helpful? Give feedback.
All reactions