From 397467c941776cdb75ddd6a47d471ba2a7a03b3e Mon Sep 17 00:00:00 2001 From: dehann Date: Mon, 27 Apr 2020 02:56:38 -0400 Subject: [PATCH] add datastore (oops) --- src/BigData/services/AbstractBigDataEntries.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BigData/services/AbstractBigDataEntries.jl b/src/BigData/services/AbstractBigDataEntries.jl index 3e2f1351..37760741 100644 --- a/src/BigData/services/AbstractBigDataEntries.jl +++ b/src/BigData/services/AbstractBigDataEntries.jl @@ -44,6 +44,7 @@ Should be extended if DFG variable is not returned by reference. """ function addDataEntry!(dfg::AbstractDFG, lbl::Symbol, + datastore::Union{FileDataStore, InMemoryDataStore}, descr::Symbol, mimeType::AbstractString, data::Vector{UInt8} ) @@ -52,7 +53,7 @@ function addDataEntry!(dfg::AbstractDFG, # Make a big data entry in the graph - use JSON2 to just write this element = GeneralBigDataEntry(dfg, node, descr, mimeType=mimeType) # Set it in the store - addBigData!(fec.datastore, element, data) + addBigData!(datastore, element, data) # Add the entry to the graph addBigDataEntry!(node, element) end