Skip to content

Commit aaf2009

Browse files
committed
Fix replace on a path
1 parent b86a6cc commit aaf2009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function main(;
142142
@time "save to S3" savecube(setchunks(c, (15000,15000)), string(orbitoutpath))
143143
rm(tmppath, recursive=true)
144144
if compute_prange
145-
prangepath = replace(orbitoutpath, "rqatrend"=>"prange", "thresh_3.0_"=>"")
145+
prangepath = Path(replace(string(orbitoutpath), "rqatrend"=>"prange", "thresh_3.0_"=>""))
146146
tmppath = tempname() * ".zarr"
147147
@time "prange" prange(tcube, outpath=tmppath, overwrite=true)
148148
cprange = Cube(tmppath)

0 commit comments

Comments
 (0)