Skip to content

Commit

Permalink
Add think for ExtractCell
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Nov 20, 2023
1 parent d95a4c1 commit f10abd3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/MD/think.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ think(action::CreateInput, conf::Conf) =
collect(Thunk(action(conf.template)) for _ in Base.OneTo(length(conf.at)))
think(action::CreateInput{<:MolecularDynamics}, conf::Conf) =
collect(Thunk(action, template) for template in first.(conf.io))
# think(action::ExtractData, conf::Conf) =
# collect(Thunk(action, file) for file in last.(conf.io))
# think(action::GatherData, ::Conf) = Thunk(action)
# think(action::SaveData, conf::Conf) = Thunk(action(conf.data.raw))
think(action::ExtractCell, conf::Conf) =
collect(Thunk(action, file) for file in last.(conf.io))
function think(action::Action{T}, config::StaticConfig) where {T}
config = expand(config, T())
return think(action, config::Conf)
Expand Down

0 comments on commit f10abd3

Please sign in to comment.