Skip to content

Commit

Permalink
fix diagnostic for CarbonMode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenwu0728 committed Oct 21, 2023
1 parent ec7d554 commit cca9933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Diagnostics/diagnostics_struct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ function tracer_avail_diags()
end

function plank_avail_diags(mode::AbstractMode)
plank_avail = (:num, :graz, :mort, :dvid, :PS, :resp, :Bm, :Chl, :Th)
plank_avail = (:num, :graz, :mort, :dvid, :PS, :Bm, :Chl)
if isa(mode, CarbonMode)
nothing
plank_avail = (:num, :graz, :mort, :dvid, :PS, :BS, :RP, :TD, :RS, :Bm, :Bd, :Chl)
elseif isa(mode, QuotaMode)
plank_avail = (:num, :graz, :mort, :dvid, :PS, :BS, :VDOC, :VNH4, :VNO3, :VPO4, :resp, :exu, :Bm, :Cq, :Nq, :Pq, :Chl)
elseif isa(mode, MacroMolecularMode)
Expand Down

0 comments on commit cca9933

Please sign in to comment.