From 125e0e1668e2df5e46b569087779cec9ce8c865b Mon Sep 17 00:00:00 2001 From: Tamas Gal <himself@tamasgal.com> Date: Fri, 26 Jan 2024 08:58:12 +0100 Subject: [PATCH] Add list of supported DATX versions --- src/hardware.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hardware.jl b/src/hardware.jl index 7e84c215..d7fa3590 100644 --- a/src/hardware.jl +++ b/src/hardware.jl @@ -362,6 +362,7 @@ Create a `Detector` instance from an ASCII IO stream using the DATX specificatio """ function read_datx(io::IO) comment_marker = [0x23, 0x23, 0x23, 0x23] + supported_versions = Set(5) comments = String[] while read(io, 4) == comment_marker -- GitLab