Skip to content

Commit 3bee453

Browse files
committed
Merge branch 'master' of https://github.com/JuliaRobotics/DistributedFactorGraphs.jl into 2Q20/cg_structure_updates
2 parents 2827b41 + c534ba3 commit 3bee453

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ julia:
1717
env:
1818
- IIF_TEST=false
1919

20+
branches:
21+
only:
22+
- master
23+
- develop
24+
- /^release-.*$/
25+
2026
jobs:
2127
include:
2228
- julia: 1.4

src/BigData/services/AbstractBigDataEntries.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Should be extended if DFG variable is not returned by reference.
4444
"""
4545
function addDataEntry!(dfg::AbstractDFG,
4646
lbl::Symbol,
47+
datastore::Union{FileDataStore, InMemoryDataStore},
4748
descr::Symbol,
4849
mimeType::AbstractString,
4950
data::Vector{UInt8} )
@@ -52,7 +53,7 @@ function addDataEntry!(dfg::AbstractDFG,
5253
# Make a big data entry in the graph - use JSON2 to just write this
5354
element = GeneralBigDataEntry(dfg, node, descr, mimeType=mimeType)
5455
# Set it in the store
55-
addBigData!(fec.datastore, element, data)
56+
addBigData!(datastore, element, data)
5657
# Add the entry to the graph
5758
addBigDataEntry!(node, element)
5859
end

src/FileDFG/services/FileDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function loadDFG(dst::String,
162162
if unzip
163163
@info "DFG.loadDFG is deleting a temp folder created during unzip, $loaddir"
164164
# need this because the number of files created in /tmp/caesar/random is becoming redonkulous.
165-
Base.rm(loaddir, recursive=true)
165+
Base.rm(loaddir, recursive=true, force=true)
166166
end
167167

168168
return dfgLoadInto

0 commit comments

Comments
 (0)