Skip to content

Commit

Permalink
Merge pull request #144 from fredo-dedup/fix-tooltip-array-bug
Browse files Browse the repository at this point in the history
Handle tooltip encodings with an array properly
  • Loading branch information
davidanthoff authored Feb 3, 2019
2 parents 01a1ce6 + ace9a82 commit 1e5e2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vlspec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function detect_encoding_type!(specdict, datait)

if haskey(specdict, "encoding")
for (k,v) in specdict["encoding"]
if !haskey(v, "type")
if v isa Dict && !haskey(v, "type")
if !haskey(v, "aggregate") && haskey(v, "field") && haskey(col_type_mapping,Symbol(v["field"]))
jl_type = col_type_mapping[Symbol(v["field"])]
if jl_type <: DataValues.DataValue
Expand Down

0 comments on commit 1e5e2e2

Please sign in to comment.