-
Notifications
You must be signed in to change notification settings - Fork 75
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
Misplaced if statement causes entities to be incorrectly inferred to be DataProperties #1105
Comments
Do you have a line number? |
+1 on getting this fixed please, it is also causing me problems |
:D Since when do you worry that the work I do for our tooling must be “justifiable as part of my FlyBase work plan”? That horse left the barn at about the moment I pushed my second contribution to the ODK… But if you want me to tackle this one though, you’ll have to do a better job of describing what the problem is. Directly pointing to a ”misplaced if statement” is not helpful. Do you have a test case? What is this ”failing test introduced in #1104” you are talking about? There is currently no failing tests – not in the master branch anyway. |
I’m pretty sure this one was fixed by #1104, and just needs to be released. |
(“Failing test …” was the original title of #1104, which I changed once I’d figured out the problem.) |
I think I have not.. had my coffee yet. Now its coming all back to me, and yes, this is actually solving the problem. Closing this issue here. Sorry for the noise, and thanks for chipping in so quickly! |
I have debugged this until #1104; But I am not familiar enough with the template code to fix this. It seems this was only recently introduced.
Basically, when running robot template (failing test introduced in #1104), at some point the ManchesterSyntaxParser checks if an entity it encounters is a DataProperty. The if statement then asserts this (if its false), thereby causing a previously untyped entity to become a DataProperty.
EDIT: I dont understand the bug very well - more investigation is needed. This seems only to happen when the entity in question does not have a known type.
The text was updated successfully, but these errors were encountered: