mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-07-02 01:29:25 +09:00
add: skew column to positions
This commit is contained in:
parent
066e0d5e46
commit
ead17f3d58
4 changed files with 36 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
using Test
|
||||
using PSBoardDataBase
|
||||
using CSV, DataFrames
|
||||
using SQLite, DBInterface
|
||||
using Dates
|
||||
|
||||
true || include("../src/PSBoardDataBase.jl")
|
||||
|
@ -35,9 +36,20 @@ true || include("../src/PSBoardDataBase.jl")
|
|||
@info "" db
|
||||
|
||||
@test PSBoardDataBase.insert_version_info(db) |> isnothing
|
||||
let stmt
|
||||
stmt = DBInterface.prepare(
|
||||
db,
|
||||
sql"""
|
||||
SELECT * FROM versions
|
||||
""",
|
||||
)
|
||||
result = DBInterface.execute(stmt) |> DataFrame
|
||||
@test nrow(result) |> ==(1)
|
||||
end
|
||||
|
||||
@test PSBoardDataBase.insert_qaqc_campaign_id(db) |> isnothing
|
||||
@test PSBoardDataBase.insert_qaqc_positions(db) |> isnothing
|
||||
jathub_list_df = CSV.read("input/PS board QAQC Data Base - JATHub db.csv", DataFrame)
|
||||
@test PSBoardDataBase.insert_qaqc_positions(db, jathub_list_df) |> isnothing
|
||||
|
||||
single_result_df =
|
||||
CSV.read("input/PS board QAQC Data Base - 本番1回試験・追加検証試験.csv", DataFrame)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue