fix: typos

This commit is contained in:
Wataru Otsubo 2024-11-14 11:54:22 +09:00
parent bd905ca3b7
commit d4a83507be
3 changed files with 6 additions and 6 deletions

View file

@ -98,7 +98,7 @@ function get_skew_and_riseup(file::T) where {T <: AbstractString}
last_low_time = missing last_low_time = missing
first_high_time = missing first_high_time = missing
skew = missing skew = missing
is_rised = false is_raised = false
let let
_time, high = _parse_line(popfirst!(lines)) _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) time, high = _parse_line(line)
if high == 0 if high == 0
last_low_time = time last_low_time = time
elseif !ismissing(last_low_time) && !is_rised && high >= 500 elseif !ismissing(last_low_time) && !is_raised && high >= 500
skew = time skew = time
is_rised = true is_raised = true
elseif !ismissing(skew) && high == 1000 elseif !ismissing(skew) && high == 1000
first_high_time = time first_high_time = time
break break

View file

@ -19,7 +19,7 @@ HEADER_STARTS =
""" """
Indicate parser state. Indicate parser state.
Default is `MODE_NONE`. 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 @enum SlaveLogSection begin
MODE_NONE MODE_NONE
@ -363,7 +363,7 @@ Parse Recov section of given stateful iterator of log.
# Return # Return
- `missing`: if failed to parse - `missing`: if failed to parse
- `true`: if successed - `true`: if succeeded
- `false` - `false`
""" """
function parse_recov_section!(lines::Base.Iterators.Stateful)::Union{Bool, Missing} function parse_recov_section!(lines::Base.Iterators.Stateful)::Union{Bool, Missing}

View file

@ -91,7 +91,7 @@ CREATE TABLE qaqc_extra_run_results (
FOREIGN KEY("position") REFERENCES "qaqc_positions"("id") 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 ( CREATE TABLE qaqc_positions (
id INTEGER NOT NULL PRIMARY KEY, id INTEGER NOT NULL PRIMARY KEY,