Skip to content

Commit

Permalink
add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Sep 7, 2023
1 parent 5e4f3b2 commit 2f6e6b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/executeWorkflowJob.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ executeWorkflowJob <- function(config, jobdir = NULL, queue = NULL, monitor = NU
if(!is.null(entity$data)){
#data features/coverages
if(!skipDataDownload){
config$logger.info("SkipDataDownload is false: copying and fetching data...")
#we copy data to job data dir (for data files)
entity$copyDataToJobDir(config, jobdir)
#vector data: we enrich entity with features
Expand All @@ -143,6 +144,7 @@ executeWorkflowJob <- function(config, jobdir = NULL, queue = NULL, monitor = NU
#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
entity$prepareFeaturesToUpload(config)
}else{
config$logger.info("SkipDataDownload is true: fetching spatial coverage from data (for DB sources only)...")
#alternative behaviors in case we don't download data, applies to DB only
entity$enrichSpatialCoverageFromDB(config)
}
Expand Down

0 comments on commit 2f6e6b8

Please sign in to comment.