From fe836fdee406f66fea61e971c564cc1180e0e300 Mon Sep 17 00:00:00 2001 From: Robert Butora <robert.butora@inaf.it> Date: Tue, 30 Apr 2024 17:21:01 +0200 Subject: [PATCH] fixes bug where mcutout did cutouts without abs path /srv/cutout/* --- data-access/engine/src/common/src/mcutout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-access/engine/src/common/src/mcutout.cpp b/data-access/engine/src/common/src/mcutout.cpp index 4fd9024..b55626b 100644 --- a/data-access/engine/src/common/src/mcutout.cpp +++ b/data-access/engine/src/common/src/mcutout.cpp @@ -96,7 +96,7 @@ struct cut_resp_s one_cutout(const struct cut_param_s cut, const string fits_pat //uintmax_t filesize; const string relative_pathname = (cut.filename); // FIXME config wrong is http://... const string abs_fits_pathname = fits_path + '/' + relative_pathname; - const string cutfitsname = generate_cut_fitsname(relative_pathname, cut.hdunum); + const string cutfitsname = fits_cut_path + '/' + generate_cut_fitsname(relative_pathname, cut.hdunum); /*filesize =*/ cutout_file( abs_fits_pathname, cut.hdunum, cut.coord, -- GitLab