Skip to content

Commit

Permalink
Added keyrequired to dfDivider (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
jusack authored Sep 6, 2024
1 parent 462bf80 commit 9d21515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MDF.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ dfBaseFrequency(f::MDFFile)::Union{Float64, Missing} = @keyrequired f["/acquisit
dfCustomWaveform(f::MDFFileV2)::Union{String, Nothing} = @keyoptional f["/acquisition/drivefield/customWaveform"]
dfDivider(f::MDFFileV1) = @keyrequired addTrailingSingleton(
f["/acquisition/drivefield/divider"],2)
dfDivider(f::MDFFileV2) = f["/acquisition/drivefield/divider"]
dfDivider(f::MDFFileV2) = @keyrequired f["/acquisition/drivefield/divider"]
dfWaveform(f::MDFFileV1) = "sine"
function dfWaveform(f::MDFFileV2)::Union{Array{String, 2}, Missing}
value = @keyrequired f["/acquisition/drivefield/waveform"]
Expand Down

0 comments on commit 9d21515

Please sign in to comment.