From d85fa5a275192e447e1627a2ae2bba5abf3c43dd Mon Sep 17 00:00:00 2001 From: Wataru Otsubo Date: Tue, 10 Dec 2024 11:22:39 +0900 Subject: [PATCH] update: for 6th campaign --- src/import_data.jl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/import_data.jl b/src/import_data.jl index 6e55fba..7421dcd 100644 --- a/src/import_data.jl +++ b/src/import_data.jl @@ -25,13 +25,14 @@ end Fill qaqc_campaigns table in `db`. """ function insert_qaqc_campaign_id(db::SQLite.DB) - campaigns = [1, 2, 3, 4, 5] + campaigns = [1, 2, 3, 4, 5, 6] dates = [ (DateTime(2024, 7, 22), DateTime(2024, 7, 24)), (DateTime(2024, 8, 6), DateTime(2024, 8, 9)), (DateTime(2024, 9, 10), DateTime(2024, 9, 12)), (DateTime(2024, 9, 30), DateTime(2024, 10, 4)), (DateTime(2024, 11, 11), DateTime(2024, 11, 14)), + (DateTime(2024, 12, 9), DateTime(2024, 12, 12)), ] stmt_insert_campaigns = DBInterface.prepare( db, @@ -212,8 +213,10 @@ function get_campaign_id_from_run_id(runid::Integer) 3 elseif runid < 293 4 - elseif runid < Inf # TODO: update this at the end of 5th campaign + elseif runid < 354 5 + elseif runid < Inf # TODO: update this at the end of 6th campaign + 6 else @error "Fix this function" DomainError("runid $(runid) is not registered to the software")