Skip to content
Snippets Groups Projects
Commit 71e30cc6 authored by Dario Barghini's avatar Dario Barghini
Browse files

Fix bug on report_year after return codes refactoring

parent 591f9732
No related tags found
No related merge requests found
...@@ -9,10 +9,6 @@ compile_opt idl2 ...@@ -9,10 +9,6 @@ compile_opt idl2
message, camera + '_' + target + ' - start exporting calibration report.', /informational message, camera + '_' + target + ' - start exporting calibration report.', /informational
; reading camera parameters structure from last analyzed month
par = get_par(config, camera, ff[-1], /return0)
if par.file eq '' then return
; going into the calibration results directory ; going into the calibration results directory
ckcd, config.path.dir_calibrations, current = old_dir, check = check ckcd, config.path.dir_calibrations, current = old_dir, check = check
if ~check then return if ~check then return
...@@ -29,6 +25,10 @@ if ff[0] eq '' then begin ...@@ -29,6 +25,10 @@ if ff[0] eq '' then begin
endif endif
; reading camera parameters structure from last analyzed month
par = get_par(config, camera, ff[-1], /return0)
if par.file eq '' then return
; checking for keyword input ; checking for keyword input
if isa(report_calib) then par.config.calibration.report_calib = report_calib if isa(report_calib) then par.config.calibration.report_calib = report_calib
if isa(excel_calib) then par.config.calibration.excel_calib = excel_calib if isa(excel_calib) then par.config.calibration.excel_calib = excel_calib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment