Skip to content

Commit

Permalink
Add back WS
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Nov 10, 2023
1 parent 29a1c87 commit fda7958
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/add_edges_from_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ add_edges_from_table <- function(
# Optionally set the `rel` attribute from a
# specified column in the CSV
if (!is.null(rel_col) && any(colnames(csv) == rel_col)) {
colnames(csv)[which(colnames(csv) == rel_col)] <- "rel"
csv$rel <- as.character(csv$rel)

colnames(csv)[which(colnames(csv) == rel_col)] <- "rel"
csv$rel <- as.character(csv$rel)
}

# Extract the ndf from the graph
Expand Down

0 comments on commit fda7958

Please sign in to comment.