From 618f8ae7385c3506d1fc9f41da8b0cc6154a7ce4 Mon Sep 17 00:00:00 2001 From: Wataru Otsubo Date: Mon, 11 Nov 2024 19:45:25 +0900 Subject: [PATCH] update(import_data): for 5th QAQC campaign - TODO: reupdate at the end of 5th run - runs between campaigns? --- src/import_data.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/import_data.jl b/src/import_data.jl index d5fcd1a..bed83e0 100644 --- a/src/import_data.jl +++ b/src/import_data.jl @@ -31,6 +31,7 @@ function insert_qaqc_campaign_id(db::SQLite.DB) (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)), ] stmt_insert_campaigns = DBInterface.prepare( db, @@ -201,8 +202,10 @@ function get_campaign_id_from_run_id(runid::Integer) 2 elseif runid < 188 3 - elseif runid < 242 + elseif runid < 293 4 + elseif runid < Inf # TODO: update this at the end of 5th campaign + 5 else @error "Fix this function" DomainError("runid $(runid) is not registered to the software")