Skip to content

Commit dee9b8b

Browse files
committed
show correct attribute names when uploading edgevalues
1 parent db605a9 commit dee9b8b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

server.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ newattrnamereac <- reactive({
325325
if(fileext %in% c(".csv", ".CSV") ){
326326
newattrs <- read.csv(paste(path), sep=",", header=TRUE, stringsAsFactors=FALSE)
327327
newname <- names(newattrs)
328+
if(input$newattrtype == "edgevalue"){
329+
newname <- newname[1]
330+
}
328331
} else if(fileext %in% c(".rds",".Rds",".RDs",".RDS") ){
329332
newattrs <- readRDS(paste(path))
330333
newname <- names(newattrs)

0 commit comments

Comments
 (0)