Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinuzziFrancesco committed Jan 12, 2025
1 parent 4bbe8a9 commit 13460e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/SpectralIndices.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module SpectralIndices

using Compat: @compat
using Dates: Date
using Downloads: download
using Dates: Date, @dateformat_str
using Downloads: Downloads
using JSON: parsefile

indices_funcs = Dict()
Expand Down
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function get_indices(
)
final_file = joinpath(fileloc, filename)
if online
indices_loc = download(
indices_loc = Downloads.download(
"https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json",
final_file,
)
Expand Down

0 comments on commit 13460e0

Please sign in to comment.