Skip to content

Commit

Permalink
Merge pull request #2108 from tonygardella/path_for_release
Browse files Browse the repository at this point in the history
Missing index in convert.inputs
  • Loading branch information
mdietze authored Sep 21, 2018
2 parents 03c8bf2 + 89542bd commit 069eb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/utils/R/convert.input.R
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ convert.input <- function(input.id, outfolder, formatname, mimetype, site.id, st
in.prefix = result[[i]]$dbfile.name[1],
'Input', existing.input[[i]]$id,
con, reuse=TRUE, hostname = machine$hostname)
newinput$input.id <- c(newinput$input.id, existing.input$id)
newinput$input.id <- c(newinput$input.id, existing.input[[i]]$id)
newinput$dbfile.id <- c(newinput$dbfile.id, dbfile.id)
} else if (id_not_added) {
new_entry <- PEcAn.DB::dbfile.input.insert(in.path = dirname(result[[i]]$file[1]),
Expand Down

0 comments on commit 069eb06

Please sign in to comment.