Skip to content

Commit

Permalink
chore: Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiraldez committed May 1, 2024
1 parent fbc8be1 commit 212d7d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/planwise/component/scenarios.clj
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,4 @@
scenario (get-scenario store 128)
engine (:planwise.component/engine integrant.repl.state/system)
settings {:analysis-type "action", :available-budget 0, :no-action-costs true}]
(get-suggestions-for-improving-providers store project scenario))

)
(get-suggestions-for-improving-providers store project scenario)))
4 changes: 2 additions & 2 deletions src/planwise/engine/suggestions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@
(let [budget? (c/is-budget analysis-type)
intervention-builder (if budget? get-provider-capacity-and-cost get-provider-capacity-and-unsatisfied-demand)
requirements (get-information-from-demand providers-data
(:id provider)
[:required-capacity :unsatisfied-demand])]
(:id provider)
[:required-capacity :unsatisfied-demand])]
(when (seq requirements)
(when-let [intervention (intervention-builder (merge provider requirements) settings)]
(merge provider intervention)))))
Expand Down

0 comments on commit 212d7d0

Please sign in to comment.