openpharma / openpharma/graphicalMCP
`as_igraph` breaks when there is an isolated vertex
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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