Skip to content

Commit

Permalink
Update modules/data.atmosphere/R/read.register.R
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Black <[email protected]>
  • Loading branch information
Sweetdevil144 and infotroph authored Jul 10, 2024
1 parent 27b9696 commit 9b69428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/data.atmosphere/R/read.register.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ read.register <- function(register.xml, con) {
} else if (is.null(register$format$id) & !is.null(register$format$name) & !is.null(register$format$mimetype)) {
register$format$id <- PEcAn.DB::db.query(
paste0("SELECT id from formats where name = '", register$format$name,
"' and mimetype_id = '", register$format$mimetype, "'"), con)[[1]]
"' AND type_string = '", register$format$mimetype, "'"), con)[[1]]
}
}
return(invisible(register))
Expand Down

0 comments on commit 9b69428

Please sign in to comment.