mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-06-07 21:45:43 +09:00
fix: typos
This commit is contained in:
parent
bd905ca3b7
commit
d4a83507be
3 changed files with 6 additions and 6 deletions
|
@ -98,7 +98,7 @@ function get_skew_and_riseup(file::T) where {T <: AbstractString}
|
|||
last_low_time = missing
|
||||
first_high_time = missing
|
||||
skew = missing
|
||||
is_rised = false
|
||||
is_raised = false
|
||||
|
||||
let
|
||||
_time, high = _parse_line(popfirst!(lines))
|
||||
|
@ -111,9 +111,9 @@ function get_skew_and_riseup(file::T) where {T <: AbstractString}
|
|||
time, high = _parse_line(line)
|
||||
if high == 0
|
||||
last_low_time = time
|
||||
elseif !ismissing(last_low_time) && !is_rised && high >= 500
|
||||
elseif !ismissing(last_low_time) && !is_raised && high >= 500
|
||||
skew = time
|
||||
is_rised = true
|
||||
is_raised = true
|
||||
elseif !ismissing(skew) && high == 1000
|
||||
first_high_time = time
|
||||
break
|
||||
|
|
|
@ -19,7 +19,7 @@ HEADER_STARTS =
|
|||
"""
|
||||
Indicate parser state.
|
||||
Default is `MODE_NONE`.
|
||||
In `MODE_NONE`, each line is feeded into parser to detect the start of each section.
|
||||
In `MODE_NONE`, each line is fed into parser to detect the start of each section.
|
||||
"""
|
||||
@enum SlaveLogSection begin
|
||||
MODE_NONE
|
||||
|
@ -363,7 +363,7 @@ Parse Recov section of given stateful iterator of log.
|
|||
|
||||
# Return
|
||||
- `missing`: if failed to parse
|
||||
- `true`: if successed
|
||||
- `true`: if succeeded
|
||||
- `false`
|
||||
"""
|
||||
function parse_recov_section!(lines::Base.Iterators.Stateful)::Union{Bool, Missing}
|
||||
|
|
|
@ -91,7 +91,7 @@ CREATE TABLE qaqc_extra_run_results (
|
|||
FOREIGN KEY("position") REFERENCES "qaqc_positions"("id")
|
||||
);
|
||||
|
||||
-- TODO: add table for desciptions of each error?
|
||||
-- TODO: add table for descriptions of each error?
|
||||
|
||||
CREATE TABLE qaqc_positions (
|
||||
id INTEGER NOT NULL PRIMARY KEY,
|
||||
|
|
Loading…
Add table
Reference in a new issue