Skip to content

Commit

Permalink
removed deserialization from add_technology!
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrypotts committed Jun 25, 2024
1 parent d374379 commit 319b99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/portfolio.jl
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ function add_technology!(
skip_validation=false,
kwargs...,
) where {T <: Technology}
deserialization_in_progress = _is_deserialization_in_progress(portfolio)
#deserialization_in_progress = _is_deserialization_in_progress(portfolio)
IS.add_component!(
portfolio.data,
technology;
allow_existing_time_series=deserialization_in_progress,
#allow_existing_time_series=deserialization_in_progress,
skip_validation=skip_validation,
kwargs...,
)
Expand Down

0 comments on commit 319b99a

Please sign in to comment.