Skip to content

Commit

Permalink
Fixed validation process issues
Browse files Browse the repository at this point in the history
  • Loading branch information
exfletch committed Jun 8, 2022
1 parent 11a225e commit 619b9ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions validation/build_validation_databases.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ if (length(data_dirs) > 0){

db <- DBInterface$new()
if (!file.exists(db_path_name)){
db$connect_to_new_database(db_path_name)
logging::loginfo(paste("Creating new database", db_path_name))
db$connect_to_new_database(db_path_name)
} else {
db$connect_to_existing_database(db_path_name)
logging::loginfo(paste("Replacing existing database", db_path_name))
file.remove(db_path_name)
db$connect_to_new_database(db_path_name)
}

db$default_timeseries_column_aliases <- list(utc_tstamp='_ts', c_id='_c_id', voltage='_voltage',
Expand Down
1 change: 1 addition & 0 deletions validation/full_validation.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set -e
# Execute validation scripts to compare two branches
# Run from DER_disturbance_analysis base directory e.g.:
# % ./validation/full_validation.sh branch_to_validate master
Expand Down

0 comments on commit 619b9ff

Please sign in to comment.