openpharma / openpharma/graphicalMCP

`as_igraph` breaks when there is an isolated vertex

Open
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
21
Forks
1
Avg merge
4h 27m
Merged PRs (30d)
11

Description

as_igraph(graph_create(c(.5, .5), matrix(0, 2, 2)))

Solution is to make an empty graph, then add vertices and edges, rather than making if from an edge dataframe

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied as_igraph(graph_create(...)) call and inspect the as_igraph entry point. Confirm that a graph containing an isolated vertex converts successfully after constructing the empty graph and adding vertices and edges; the issue provides no file or test path to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.