-
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
Same Name Error handling for properties on different concepts in JointSensor #299
Comments
I have a "namespace" set up in the construction of everything in the "graph" and make sure they won't have a name conflict. The implementation is in We need to decide how we want it to behave, anyway. |
Thank you for your answer, the problem is that when that number |
Yea I see they don't need to be unique when they are attached to different concepts. However, I did not have a good implementation of the namespace that supports such a scenario. So I just make everything unique. What is the issue for such naming working with JointSensor? I was expecting all the internal processes to be agnostic to the naming format of the sensors, properties, or concepts. |
Hi Quan, The issue is that because the tuple becomes a string and the sensor is not able to break it anymore. |
The same name error also happens to be problematic when defining multiple relationships and using the candidate generator sensor. because we have named keywords that should match the name of the kargs passed to the function. |
For Some reason, there is a bug in handling the same property names in two separate JointSensors on two different concepts.
See the below example:
Printing
sup
in theattached
function inJointSensor
results in the following:Now if I change the second one to
The result would be ok as to contain:
This seems to be a rather odd scenario maybe in the graph default property naming which we need to check on it.
@guoquan Do you have any idea where we should start for finding this error?
The text was updated successfully, but these errors were encountered: