Skip to content
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

treevalue graph cli cannot import the trees #30

Open
HansBug opened this issue Jan 22, 2022 · 0 comments
Open

treevalue graph cli cannot import the trees #30

HansBug opened this issue Jan 22, 2022 · 0 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@HansBug
Copy link
Member

HansBug commented Jan 22, 2022

As the title said, it imports nothing and no error displayed. After setting PYTHONPATH=.${PYTHONPATH}, everything is okay. I seems to have something with hbutils library.

# test_main.py
from treevalue import TreeValue

t1 = TreeValue({
    'a': 2, 'b': 3,
    'x': {
        'c': 5, 'd': 7,
    }
})
t2 = TreeValue({
    't1': t1, 'a': 4, 'x': {'c': 5}
})
t2.x.d = t2
# command line
treevalue graph -t test_main.t1 -o test_graph.gv
@HansBug HansBug added the invalid This doesn't seem right label Jan 22, 2022
@HansBug HansBug self-assigned this Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant