-
Notifications
You must be signed in to change notification settings - Fork 6
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
exporting edge weight from compressed html to pajek file #19
Comments
Dear Xi, I am sorry for an enormous delay with handling your request ! I have implemented the edge weight saving (starting with version 1.9.42), so the PAJEK arcs should now look like: Note that there are three consequetive steps of tree compression in PastML:
Previously, the compressed tree was saved to Pajek after the vertical compression step, so all the edges were of size 1. Let me know if this works for you, please. Best wishes, |
Dear Anna, Thank you so much for your reply and your efforts on modifications to the new version PastML! I have installed the newer version 1.9.42 with python3.9.2: However, it gives some errors related to UTF-8 code: And if I use an older version 1.9.33: Which works well as I previously did. By any chance do you have an idea of what happened to the UTF-8 code issues? Thank you again! Best, Xi |
Hi Xi, I am sorry that it produces errors. I am on maternity leave till January, and will not be able to look into this issue before that. From the error description though, it seems like there might be an unusial character in your metadata file somewhere (around position 36294). So maybe a temporary fix could be to edit the metadata file. I will look into this when I am back in January. Cheers, |
Hi Anna, Thanks for your quick reply, and look into this! I was using the same metadata inputs in older and newer versions; not sure if that also causes the different outputs, but I will check the metadata and specific position. Please do not worry about that; also, congratulations, I hope you have a nice break and time with your family! Once again, thank you! Best, Xi |
Dear Anna,
Thanks for developing PastML and all updates, it is very useful to our current analysis.
I see from #16, you have updated a feature to parse compressed graphs to pajek files, and you also mentioned using different weights for nodes and branch sizes from #2.
I wonder if there is a way to export both nodes, edges, and edge weights (as the number 2 between the UK and the Netherlands in the blow graph ), from compressed graphs to pajek files, while the current feature generates nodes and edges:
Could you please let me know where in the script/variable these edge weights are stored, which I believe should be able to exact from some HTML outputs, unfortunately, I couldn't find them.
Thank you very much in advance.
Best, Xi
The text was updated successfully, but these errors were encountered: