-
http://treelib.readthedocs.io/en/latest/examples.html
it defined that it can use Object, but i pass tuple, it has error
>>> tree.create_node((0,0),(0,0))
Traceback (most recent call last):
…
-
for example,
```
>>> from treelib import Node, Tree
>>> tree = Tree()
>>> tree.create_node("Harry", "harry") # root node
>>> tree.create_node("Jane", "jane", parent="harry")
>>> tree.create_n…
-
Here is the story: I'm migrating from old `requirements.txt` to a brand new `Pipfile`. First time I run `pipenv install`, it said me that there is `requirements.txt` and it will convert it. OK, I thou…
-
Hello,
```
tree = Tree()
tree.create_node("Harry", "harry")
tree.create_node("Jane", "jane", parent="harry")
n= tree.get_node("jane")
n.identifier=("xyz")
tree.get_node("xyz") ### returns N…
ghost updated
6 years ago
-
Hi,
I saw in the documentation that the Tree object has a method to_json(). However, when I create a Tree object and try calling this method, I get the error: "'Tree' object has no attribute 'to_json…
-
Is there any way to restaure, load,or parse a tree from json, string or file?
After all we already have those methods for to save an existing tree object, it would be useful.
Thanks for your wor…
-
Hello,
Running the full analysis works (`./orthofinder.py -f ExampleData -S diamond -t 16`)
However, I cannot get Orthofinder to give me the alignments or gene trees when the `-M msa` flag is used. …
-
# Environment
* OS: Windows 7
* Python Version: Anaconda Python 3.6.1
* Python Bitness: 64
* How did you install Zipline: pip
* Python packages:
alabaster (0.7.10)
alembic (0.9.6)
algopy (0…
-
According to the example in plate_manager.py, the format to read plate definitions should be:
{'H1': [(('house', '1'),)]}
that is: **_identifier[tag:data]_**.
However, for the current implem…
Srceh updated
6 years ago
-
Hi,
I am trying to get the json string corresponding to the CHAID tree. I tried converting the CHAID tree to a treelib tree, and then the treelib package has a method to_json().
However, when I call…