@@ -46,7 +46,7 @@ int phypp_main(int argc, char* argv[]) {
46
46
}
47
47
48
48
read_args (argc, argv, arg_list (
49
- name (tseed, " seed" ), out, name (psf_file, " psf" ), name (astrometry, " astro" ), aspix, rms,
49
+ name (tseed, " seed" ), out, name (psf_file, " psf" ), name (astrometry, " astro" ), aspix, rms,
50
50
beam_smoothed, smooth_fwhm, list_psfs, verbose, make_err, make_cov, clip_borders, save_dist,
51
51
name (cat_file, " cat" ), name (tdouble, " double" )
52
52
));
@@ -82,7 +82,7 @@ int phypp_main(int argc, char* argv[]) {
82
82
file::mkdir (file::get_directory (out));
83
83
84
84
std::string out_base = file::remove_extension (out);
85
- if (end_with (out_base, " -noise" )) {
85
+ if (ends_with (out_base, " -noise" )) {
86
86
out_base = erase_end (out_base, " -noise" );
87
87
}
88
88
@@ -92,7 +92,7 @@ int phypp_main(int argc, char* argv[]) {
92
92
vec1d ra, dec;
93
93
} cat;
94
94
95
- if (end_with (cat_file, " .fits" )) {
95
+ if (ends_with (cat_file, " .fits" )) {
96
96
fits::read_table (cat_file, ftable (cat.ra , cat.dec ));
97
97
} else {
98
98
ascii::read_table (cat_file, ascii::find_skip (cat_file), cat.ra , cat.dec );
0 commit comments