Skip to content

Commit

Permalink
use project path for the test data
Browse files Browse the repository at this point in the history
  • Loading branch information
enigne committed Jan 12, 2024
1 parent 8ff29a5 commit 2642f88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usr/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ function issmdir() #{{{
issmdir = ENV["ISSM_DIR"]
else
println("Could not determine the location of ISSM, use dJUICE path instead")
return "./"
return joinpath(dirname(pathof(dJUICE)), "..")
end

if isempty(issmdir)
println("Could not determine the location of ISSM, use dJUICE path instead")
return "./"
return joinpath(dirname(pathof(dJUICE)), "..")
else
return issmdir
end
Expand Down

0 comments on commit 2642f88

Please sign in to comment.