Skip to content

Commit

Permalink
isGeoRegion accepts path as input
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Jul 26, 2024
1 parent fd386ff commit c39a4a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/georegions/read.jl
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,11 @@ Returns
"""
function isGeoRegion(
geoID :: AbstractString;
path :: AbstractString = geodir,
throw :: Bool=true
)

rvec,_,_ = listGeoRegions()
rvec,_,_ = listGeoRegions(path)
return isgeoregion(geoID,rvec;throw=throw,dolog=true)

end
Expand Down

0 comments on commit c39a4a8

Please sign in to comment.