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

Add GML and GraphML NetworkX datasets #881

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

sbrugman
Copy link
Contributor

@sbrugman sbrugman commented Sep 8, 2021

Description

Introduces feature described in #828

Development notes

Follow up from #830 with comments processed, based on the lastest development branch. Thanks @ignacioparicio for reviewing!
Omitted GPickleDataSet as GPickle is deprecated in NetworkX and will be removed in the third version (ref).
Included GraphML in addition to GML. Some tools prefer GraphML as it's able to perfectly preserve internal property maps (ref).

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added a description of this change and added my name to the list of supporting contributions in the RELEASE.md file
  • Added tests to cover my changes

Notice

  • I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

  • I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

  • I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

  • I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

@sbrugman sbrugman force-pushed the feat-networkx-datasets branch 4 times, most recently from d646021 to 4d393f8 Compare September 8, 2021 23:53
Copy link
Contributor

@antonymilne antonymilne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome work, thank you very much @sbrugman for your contribution! Just a few minor comments, but I think this is a great improvement. Thank you!

RELEASE.md Outdated Show resolved Hide resolved
kedro/extras/datasets/networkx/__init__.py Outdated Show resolved Hide resolved
kedro/extras/datasets/networkx/gml_dataset.py Outdated Show resolved Hide resolved
kedro/extras/datasets/networkx/graphml_dataset.py Outdated Show resolved Hide resolved
Copy link
Member

@merelcht merelcht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍 Thanks for the contribution @sbrugman 😄

docs/source/15_api_docs/kedro.extras.datasets.rst Outdated Show resolved Hide resolved
@sbrugman
Copy link
Contributor Author

sbrugman commented Sep 9, 2021

Thanks for the reviews @AntonyMilneQB and @MerelTheisenQB ! I've updated the branch to incorporate the suggestions.

@idanov idanov changed the title feat: networkx datasets gml and graphml Add GML and GraphML NetworkX datasets Sep 9, 2021
@merelcht merelcht merged commit 94eacf3 into kedro-org:develop Sep 9, 2021
@sbrugman sbrugman deleted the feat-networkx-datasets branch September 9, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants