Skip to content

Commit 9e00a18

Browse files
committed
bug fix, getData with UUID
1 parent 7ea6ab0 commit 9e00a18

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DistributedFactorGraphs"
22
uuid = "b5cc3c7e-6572-11e9-2517-99fb8daf2f04"
3-
version = "0.23.1"
3+
version = "0.23.2"
44

55
[deps]
66
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

src/DataBlobs/services/HelpersDataWrapEntryBlob.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ function getData(
8888
checkhash::Bool = true,
8989
getlast::Bool = true,
9090
)
91-
de_ = getBlobEntries(dfg, vlabel, key)
91+
_getblobentr(g, v, k) = getBlobEntries(g, v, k)
92+
_getblobentr(g, v, k::UUID) = [getBlobEntry(g, v, k);]
93+
de_ = _getblobentr(dfg, vlabel, key)
9294
lbls = (s -> s.label).(de_)
9395
idx = sortperm(lbls; rev = getlast)
9496
_first(s) = s

0 commit comments

Comments
 (0)