From 75cbf45f901ef1f36784d6c75732e91d71a9e640 Mon Sep 17 00:00:00 2001 From: anton083 Date: Wed, 15 Nov 2023 22:58:34 +0100 Subject: [PATCH] Fix wrong type --- src/ribbon/render.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ribbon/render.jl b/src/ribbon/render.jl index 3aa22e6..586edfe 100644 --- a/src/ribbon/render.jl +++ b/src/ribbon/render.jl @@ -96,7 +96,7 @@ end function ribbon( protein::Protein, - color_vectors::ColorScheme = [smooth_color_vector(colorscheme, length(chain)) for chain in protein], + color_vectors::AbstractVector{<:AbstractVector{<:RGB}} = [smooth_color_vector(colorscheme, length(chain)) for chain in protein], ) scene = Scene(backgroundcolor=:black) cam3d!(scene)