mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-07-02 01:29:25 +09:00
update(doc): add example to QaqcMasterLog.parse_master_log
This commit is contained in:
parent
656848f850
commit
dfde25a8dc
1 changed files with 8 additions and 0 deletions
|
@ -26,6 +26,14 @@ end
|
||||||
|
|
||||||
Parse master log.
|
Parse master log.
|
||||||
If the `logfile` is empty, return `nothing`.
|
If the `logfile` is empty, return `nothing`.
|
||||||
|
|
||||||
|
# Examples
|
||||||
|
|
||||||
|
```jldoctest
|
||||||
|
julia> PSBoardDataBase.QaqcMasterLog.parse_master_log("../test/input/log/57_long.log")
|
||||||
|
PSBoardDataBase.QaqcMasterLog.QaqcMasterLogMetadata(Dates.DateTime("2024-07-26T10:33:05"), 57, "Otsubo", v"1.0.2")
|
||||||
|
|
||||||
|
```
|
||||||
"""
|
"""
|
||||||
function parse_master_log(logfile::AbstractString)
|
function parse_master_log(logfile::AbstractString)
|
||||||
open(logfile) do f
|
open(logfile) do f
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue