diff --git a/src/ClockParser.jl b/src/ClockParser.jl index dcdbb6d..70ba75c 100644 --- a/src/ClockParser.jl +++ b/src/ClockParser.jl @@ -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 diff --git a/src/SlaveLogParser.jl b/src/SlaveLogParser.jl index db8da29..8d0778e 100644 --- a/src/SlaveLogParser.jl +++ b/src/SlaveLogParser.jl @@ -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} diff --git a/src/sql/create_table.sql b/src/sql/create_table.sql index cdb3e8a..9331288 100644 --- a/src/sql/create_table.sql +++ b/src/sql/create_table.sql @@ -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,