-
Notifications
You must be signed in to change notification settings - Fork 560
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
dataset examples file #1289
dataset examples file #1289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It currently fails with
Traceback (most recent call last):
File "datasets.py", line 67, in <module>
print(d.serialize(format="trig").decode().strip())
AttributeError: 'str' object has no attribute 'decode'
as the serialize methods return strings in our current master branch. So I think the example should work on the current master branch.
So far I have only used |
Yes, |
4 similar comments
If Dataset is an enhancement of ConunctiveGraph, then we should make both classes do the same, and make it just a naming decision. If we cam to a conclusion which name to take, we throw a warning, when the other one is used, telling that it is the same as the one we chose and telling that the other one is deprecated and will be removed some day. |
@white-gecko @ashleysommer: You can see in PR #1296 that I'm proceeding through all the docs. If you can approve this example, I'll then tackle the comment above about "we should make both classes do the same". I think there are only a couple of differences between the two classes but I'll study this properly in the other PR. |
Merging as the test failure is the false "assign address" one |
A short examples file showing how to use Dataset. We just don't have one!