Skip to content

Commit

Permalink
fixup: format head^^
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed May 2, 2023
1 parent c8036df commit ec4926e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/analysis/modifications/community.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ modify_abundances(new_abundances::Vector{Float64}) =
for (i, j, v) in zip(findnz(env_link)...)
jj = j + column_offset
ii = i + row_offset
set_normalized_coefficient(opt_model[:metabolite_eqs][ii], opt_model[:x][jj], -v)
set_normalized_coefficient(
opt_model[:metabolite_eqs][ii],
opt_model[:x][jj],
-v,
)
end
end

0 comments on commit ec4926e

Please sign in to comment.