From ebade7547ede0a1bf457efc900aa8ee6a5b73c8b Mon Sep 17 00:00:00 2001 From: Cedric St-Jean Date: Mon, 23 Apr 2018 22:43:43 -0400 Subject: [PATCH] Fix sorting in comparisons --- src/FProfile.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FProfile.jl b/src/FProfile.jl index 39a42db..753f8d2 100644 --- a/src/FProfile.jl +++ b/src/FProfile.jl @@ -508,7 +508,7 @@ function flat(pd1::ProfileData, pd2::ProfileData; _module=nothing, kwargs...) df2 = flat(pd2; _module=_module, kwargs...) combineby_ind = _module === nothing ? 2 : 3 df = FProfile.my_outer_join(df1, df2, names(df1)[combineby_ind:end]) - return sort(df, cols=names(df)[3], rev=true) + return sort(df, names(df)[3], rev=true) end flat(pd1::ProfileData, pd2::ProfileData, _module::Tuple; kwargs...) =