You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may not be a bug if the package is supposed to be used only from CLI, but I tried to adapt it to import it and use its functions, but I have the strange result that the vertices' indices are "accumulated" each time I call the same function:
Thanks for opening this issue (and sorry about such a delay in responding).
I think you have summarised the situation perfectly! The package was initially designed only as a CLI tool (as you said). If it's not used via the CLI, there will likely be an issue here (if previous Node objects already exist, then they will affect the label/name of new nodes).
But, arguably it's more natural to import the package (as you have done), rather than use it as a CLI tool. Unfortunately I don't have much time to work on this at the moment, but I would be very happy to accept a PR. If you are interested, feel free to add new functionality in whatever way you think best (your analysis so far has been great).
Thank you for your answer , I am happy for understanding the cause of the behaviour now. Since the intended use is CLI-based, feel free to close the issue if you prefer (or to leave it open if you want this new functionality to be added one day). I am unable to say if I will contribute to the package but, if one day it turns to be the case, you will see a PR
Thank you again, your package was very useful in a project of mine (I dealed with the cumulated indexes using a "manual" solution but it works!)
Hello
This may not be a bug if the package is supposed to be used only from CLI, but I tried to adapt it to import it and use its functions, but I have the strange result that the vertices' indices are "accumulated" each time I call the same function:
The code (inspired from your
__main__.py
):The test file "../data/input.csv":
If the package should be only a CLI tool, sorry for opening this issue, and thank you for your attention in either case
The text was updated successfully, but these errors were encountered: