Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • met4j met4j
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar

Maintenance - Mise à jour mensuelle Lundi 3 Avril entre 7h00 et 9h00

  • metexploremetexplore
  • met4jmet4j
  • Merge requests
  • !26

Fix handling of weighted metabolic graph as undirected

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Clement Frainay requested to merge asUndirectedFix into develop Jan 05, 2023
  • Overview 1
  • Commits 6
  • Pipelines 0
  • Changes 10

The "AsUndirected" processing of BioGraph simply add reverse edges for all existing edges. However, in the case of weighted graphs, edges' weight wasn't passed to the newly created ones. This raised other concerns, such as the use of node weighting transferred to edges (such as degree weighting used in distance matrices), where reversed and original edges sharing the same weight might not be suited despite ensuring the symmetry property of the metric space. There is also special cases that might be of interest for some apps, such as avoiding doubling of reversible reaction edges in compound graphs. This merge request aims at ensuring appropriate behaviour of "undirecting" BioGraphs and expand test cases

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