Skip to content

Commit d67e662

Browse files
committed
fix data source handling
1 parent dafcabe commit d67e662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geoflow_data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ geoflow_data <- R6Class("geoflow_data",
166166
if(!any(sapply(data_props, function(x){x$key=="source"})) && !any(sapply(data_props, function(x){x$key=="dir"}))){
167167
stop("One or more data 'source' (or 'dir', as directory for sources) is mandatory")
168168
}
169-
if(any(sapply(data_props, function(x){x$key=="source"}))) self$setSource(data_props$source$values)
170169
}
170+
if(any(sapply(data_props, function(x){x$key=="source"}))) self$setSource(data_props$source$values)
171171

172172
#sourceSql
173173
if(!is.null(data_props$sourceSql)){

0 commit comments

Comments
 (0)