Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PRIMO
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Social Cognitive SystemsSocial Cognitive Systems
  • PRIMO
  • Merge requests
  • !23

Make PRIMO compatible to networkx 2

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jan Pöppel requested to merge jpoeppel:networkx2 into master Oct 09, 2017
  • Overview 0
  • Commits 3
  • Changes 3

Created by: jpoeppel

This PR makes some small changes to the use of networkx so that the new version 2 works while still supporting networkx 1.x (only tested the latest 1.11). All tests pass with these changes. I also added a small monkey patch in case 1.x is used since the backward compatible function calls use the list-versions of functions in networkx 1.x while the iterator versions have become standard in 2.0. The monkey patch will override the function names to the iterator versions for 1.x so that we do not have higher memory consumption in this case.

This PR fixes #20 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: jpoeppel:networkx2