Skip to content

Commit 906cc16

Browse files
committed
add missing skipEnrichWithDatatypes in debugWorkflow
1 parent 64de08c commit 906cc16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/debugWorkflow.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ debugWorkflow <- function(file, dir = ".", entityIndex = 1,
5555
}
5656
skipDataDownload <- if(!is.null(config$profile$options$skipDataDownload)) config$profile$options$skipDataDownload else FALSE
5757
skipEnrichWithData = if(!is.null(config$profile$options$skipEnrichWithData)) config$profile$options$skipEnrichWithData else FALSE
58+
skipEnrichWithDatatypes = if(!is.null(config$profile$options$skipEnrichWithDatatypes)) config$profile$options$skipEnrichWithDatatypes else FALSE
5859

5960
#run software actions?
6061
if(runSoftwareActions){
@@ -96,11 +97,12 @@ debugWorkflow <- function(file, dir = ".", entityIndex = 1,
9697
#we copy data to job data dir (for data files)
9798
entity$copyDataToJobDir(config, jobdir)
9899
#vector data: we enrich entity with features
100+
#enrich with data types
101+
if(!skipEnrichWithDatatypes) entity$enrichWithDatatypes(config, jobdir)
99102
#control is added in case of entity already enriched with features/coverages (when loaded from custom R entity handlers)
100103
if(!skipEnrichWithData) if(is.null(entity$data$features) && is.null(entity$data$coverages)){
101104
entity$enrichWithData(config, jobdir)
102105
}
103-
104106
setwd(entity$getEntityJobDirPath(config, jobdir)) #make sure we are in entity jobdir
105107
#we check if the source and upload are both different file format (csv,shp,gpkg) and process automatically to conversion from source to upload type
106108
entity$prepareFeaturesToUpload(config)

0 commit comments

Comments
 (0)