Skip to content

Commit

Permalink
Rename listpotentials to eachpotential
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Oct 13, 2023
1 parent 9faf00e commit ac852d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ExpressBase/src/actions.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using AbInitioSoftwareBase: Input, getpseudodir, listpotentials
using AbInitioSoftwareBase: Input, getpseudodir, eachpotential
using Pseudopotentials: download_potential
using Thinkers: Thunk

Expand All @@ -12,7 +12,7 @@ function (::DownloadPotentials)(template::Input)
if !isdir(dir)
mkpath(dir)
end
return map(listpotentials(template)) do potential
return map(eachpotential(template)) do potential
path = joinpath(dir, potential)
if !isfile(path)
download_potential(potential, path)
Expand Down

0 comments on commit ac852d9

Please sign in to comment.