Skip to content

Commit

Permalink
still return results if get_fit_results throw exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Xia Hong committed Nov 11, 2019
1 parent 004be6a commit 77ec98f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions bioinformatics/QpcrAnalysis/amp_analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,16 @@ function amp_analysis(i ::AmpInput) # ; asrp ::AmpStepRampProperties)
"and Cq calculation will not be performed")
else ## num_cycles > 2
baseline_cyc_bounds = check_bl_cyc_bounds(i, DEFAULT_AMP_BL_CYC_BOUNDS)
set_ct_fluos!(o, i, baseline_cyc_bounds)
set_output_fields!(o, i, get_fit_results(o, i, baseline_cyc_bounds))
try
set_ct_fluos!(o, i, baseline_cyc_bounds)
catch e
warn(logger, "set_ct_fluos catch error: " * sprint(showerror, e))
end
try
set_output_fields!(o, i, get_fit_results(o, i, baseline_cyc_bounds))
catch e
warn(logger, "get_fit_results catch error: " * sprint(showerror, e))
end
set_qt_fluos!(o, i)
set_report_cq!(o, i)
end ## if
Expand Down

0 comments on commit 77ec98f

Please sign in to comment.