Skip to content
Snippets Groups Projects
Commit 7716e57a authored by Fraser William Goldsworth's avatar Fraser William Goldsworth
Browse files

fixed fpath?

parent 76790e64
No related branches found
No related tags found
No related merge requests found
Pipeline #60095 failed
......@@ -52,7 +52,7 @@ if not os.path.exists(path_rgrid):
os.makedirs(path_rgrid)
if not os.path.exists(path_sections):
os.makedirs(path_sections)
fpath = f'{path_ckdtree}/../{tgname}_tgrid.nc'
fpath = os.path.abspath(os.path.join(path_ckdtree, f"../{tgname}_tgrid.nc"))
if not os.path.exists(fpath):
os.symlink(os.path.join(path_tgrid, fname_tgrid), fpath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment