update(import_data): for 5th QAQC campaign

- TODO: reupdate at the end of 5th run
- runs between campaigns?
This commit is contained in:
Wataru Otsubo 2024-11-11 19:45:25 +09:00
parent 23dae0dd53
commit 618f8ae738

View file

@ -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")