Skip to content

Commit

Permalink
fix data source handling
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed May 7, 2024
1 parent dafcabe commit d67e662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geoflow_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ geoflow_data <- R6Class("geoflow_data",
if(!any(sapply(data_props, function(x){x$key=="source"})) && !any(sapply(data_props, function(x){x$key=="dir"}))){
stop("One or more data 'source' (or 'dir', as directory for sources) is mandatory")
}
if(any(sapply(data_props, function(x){x$key=="source"}))) self$setSource(data_props$source$values)
}
if(any(sapply(data_props, function(x){x$key=="source"}))) self$setSource(data_props$source$values)

#sourceSql
if(!is.null(data_props$sourceSql)){
Expand Down

0 comments on commit d67e662

Please sign in to comment.