diff --git a/src/CMIP/CMIP.jl b/src/CMIP/CMIP.jl index 4e4cd3b..5ca10ec 100644 --- a/src/CMIP/CMIP.jl +++ b/src/CMIP/CMIP.jl @@ -38,9 +38,9 @@ function cbind(x::AbstractDataFrame; kw...) # end end -function map_df(fun::Function, lst::GroupedDataFrame{DataFrame}) +function map_df(fun::Function, lst::GroupedDataFrame{DataFrame}, args...; kw...) n = length(lst) - map(i -> fun(lst[i]), 1:n) + map(i -> fun(lst[i], args...; kw...), 1:n) end include("esgf.jl")