Skip to content
Snippets Groups Projects
Commit fe836fde authored by Robert Butora's avatar Robert Butora
Browse files

fixes bug where mcutout did cutouts without abs path /srv/cutout/*

parent 4f64f009
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment