Skip to content

Commit 5cc7ee1

Browse files
committed
shorter loadDFG temp folder name
1 parent 3c3a763 commit 5cc7ee1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/FileDFG/services/FileDFG.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,9 @@ ls(dfg)
8686
"""
8787
function loadDFG!(dfgLoadInto::AbstractDFG, dst::AbstractString)
8888

89-
9089
#
9190
# loaddir gets deleted so needs to be unique
92-
loaddir=joinpath("/","tmp","caesar","random", string(uuid1()))
91+
loaddir=split(joinpath("/","tmp","caesar","random", string(uuid1())), '-')[1]
9392
# Check if zipped destination (dst) by first doing fuzzy search from user supplied dst
9493
folder = dst # working directory for fileDFG variable and factor operations
9594
dstname = dst # path name could either be legacy FileDFG dir or .tar.gz file of FileDFG files.

0 commit comments

Comments
 (0)