mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-06-08 05:55:42 +09:00
update(import_data): for 5th QAQC campaign
- TODO: reupdate at the end of 5th run - runs between campaigns?
This commit is contained in:
parent
23dae0dd53
commit
618f8ae738
1 changed files with 4 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue