Open willhooper opened 2 months ago
Hi Will,
I have a suspicion that this is an issue within graphviz since it can't handle some input characters in node labels (i.e., what is passed into the character_label
columns of the input tsv). If you make the character_label columns something simple, like the character_index, does this problem go away? If that doesn't help, can you upload the input tsv you're using for me to diagnose further?
Best,
Divya
Hi Divya,
Thanks for the quick response! I looked into this a little more closely, and it seems like the issue is the fontsize field in the node attributes. Either quoting the value, e.g. fontsize="12pt"
, or switching to fontsize=12
fixes the issue when using graphviz on the command line.
Best, Will
Hi Will,
Glad to hear it's working, but still not sure what the problem is - the generated .dot files I have contain fontsize="12pt"
. Do the .dot files you have look different?
Thanks for the help!
Best,
Divya
Yes, here's a sample line:
0 [xlabel=clone0, fillcolor="#6aa84fff", color="#6aa84fff", style=filled, label="", shape=circle, penwidth=3, fontname=Arial, fontsize=12pt, fixedsize=true, height=0.25];
Thanks so much. Unfortunately I can't reproduce this on any machine, but I pushed a potential fix to this. If you could pip install --upgrade metient
and see if this works for you, that would be awesome.
If the above doesn't work, my other suspicion is that there's something wrong with the graphviz version you're using - if so, with your conda environment activated, could you let me know what you graphvuz verison is (run dot -V
on command line)?
Thanks!
Hi,
Thank you for developing this useful package! I'm running into an error when I run
met.evaluate_label_clone_tree
when settingvisualize=True
in the print config. When I set it to false and paste the output into an online graphviz renderer, I see a similar error re: line 3.