Skip to content

Commit

Permalink
solve-field: when using source-extractor, turn off the 'resort' flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Aug 8, 2023
1 parent af5dcf7 commit 2d7963a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions solver/augment-xylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,7 @@ int augment_xylist(augment_xylist_t* axy,
axy->ycol = "Y_IMAGE";
axy->sortcol = "MAG_AUTO";
axy->sort_ascending = TRUE;
axy->resort = FALSE;

filterfn = create_temp_file("filter", axy->tempdir);
sl_append_nocopy(tempfiles, filterfn);
Expand Down
2 changes: 1 addition & 1 deletion solver/resort-xylist-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ int main(int argc, char** args) {
fits_use_error_system();

if (resort_xylist(infn, outfn, fluxcol, backcol, ascending)) {
ERROR("Failed to re-sorting xylist by FLUX and BACKGROUND");
ERROR("Failed to re-sort xylist by FLUX and BACKGROUND columns \"%s\" and \"%s\"", fluxcol, backcol);
exit(-1);
}

Expand Down

0 comments on commit 2d7963a

Please sign in to comment.