Skip to content

Commit

Permalink
Debug some logging, push the julia [compat] to LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Jan 2, 2025
1 parent 379030e commit 8246ea4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GeoRegions"
uuid = "b001f823-fa75-4bff-bf55-6610c8f3688a"
authors = ["natgeo-wong <[email protected]>"]
version = "7.0.0"
version = "7.0.1"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand All @@ -15,7 +15,7 @@ PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
GeometryBasics = "0.4"
GeometryOps = "0.1"
PrettyTables = "2"
julia = "^1.9"
julia = "^1.10"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
2 changes: 1 addition & 1 deletion src/georegions/list.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function listall(
if isfile(fID)
IDs,fIDs,types,dirs = fillinfo(IDs,fIDs,types,dirs,fID)
else
if warn @warn "$(modulelog) - The custom file does \"$fname\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path." end
if warn @warn "$(modulelog()) - The custom file does \"$fname\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path." end
end
end

Expand Down
8 changes: 4 additions & 4 deletions src/georegions/tables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function tableGeoRegions(;
rvec,fvec,tvec,dvec = fillinfo(rvec,fvec,tvec,dvec,fID)
else
if warn
@warn "$(modulelog) - The custom file does \"$fname\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path."
@warn "$(modulelog()) - The custom file does \"$fname\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path."
end
end
end
Expand Down Expand Up @@ -164,7 +164,7 @@ function tableRectRegions(;
if isfile(fID)
rvec,fvec,tvec,dvec = fillinfo(rvec,fvec,tvec,dvec,fID)
else
@warn "$(modulelog) - The custom file \"rectlist.txt\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path."
@warn "$(modulelog()) - The custom file \"rectlist.txt\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path."
end
end

Expand Down Expand Up @@ -224,7 +224,7 @@ function tableTiltRegions(;
if isfile(fID)
rvec,fvec,tvec,dvec = fillinfo(rvec,fvec,tvec,dvec,fID)
else
@warn "$(modulelog) - The custom file \"tiltlist.txt\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path."
@warn "$(modulelog()) - The custom file \"tiltlist.txt\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path."
end

ngeo = size(rvec,1)
Expand Down Expand Up @@ -289,7 +289,7 @@ function tablePolyRegions(;
if isfile(fID)
rvec,fvec,tvec,dvec = fillinfo(rvec,fvec,tvec,dvec,fID)
else
@warn "$(modulelog) - The custom file \"polylist.txt\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path."
@warn "$(modulelog()) - The custom file \"polylist.txt\" does not exist in $path, use `setupGeoRegions()` to copy templates and empty custom lists to $path."
end
end

Expand Down

0 comments on commit 8246ea4

Please sign in to comment.