carson-katri / carson-katri/geometry-script

Returning results as dictionary leads to errors in tree.py when called in other methods

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
339
Forks
33
PR merge metrics
No merged PRs in 30d

Description

As per the documentation, we can make the return value of a tree node a dictionary for custom names:
![image](https://github.com/carson-katri/geometry-script/assets/54278583/3a3db340-5429-4237-b5e2-f3a9153660b5)
This works, however, if we wish to import the tree node function and use it in another tree node, i.e. `results = tree_with_dict_return(...)`, it throws the following error from tree.py:
![image](https://github.com/carson-katri/geometry-script/assets/54278583/533141e1-c159-476e-be72-92e36eb7153a)
I assume this is a bug from the code handling sockets of tree functions.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.