From e2c3f33e4817372ec9eca815099dc1e914f7933a Mon Sep 17 00:00:00 2001 From: Jonathan <69920197+Jonnie0@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:32:02 +0100 Subject: [PATCH] Update get_data.jl Add cca as valid unit --- src/get_data.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get_data.jl b/src/get_data.jl index 4347435..1b4ed09 100644 --- a/src/get_data.jl +++ b/src/get_data.jl @@ -144,7 +144,7 @@ function validate_args!(kwargs) end # units if (v = pop!(d, :units, nothing)) != nothing && - v ∉ ["lin", "chg", "ch1", "pch", "pc1", "pca", "cch", "log"] + v ∉ ["lin", "chg", "ch1", "pch", "pc1", "pca", "cch", "log", "cca"] error("units: Invalid format: $v") end # frequency