File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ main_symmetric_cpgs(int argc, const char **argv) {
127127 const string filename (leftover_args.front ());
128128 /* ***************** END COMMAND LINE OPTIONS *****************/
129129
130- const bool show_progress = VERBOSE && isatty (fileno (stderr));
130+ // const bool show_progress = VERBOSE && isatty(fileno(stderr));
131131 bgzf_file in (filename, " r" );
132132 if (!in) throw std::runtime_error (" could not open file: " + filename);
133133
@@ -141,10 +141,11 @@ main_symmetric_cpgs(int argc, const char **argv) {
141141 sites_are_sorted = process_sites (in, out);
142142
143143 if (!sites_are_sorted) {
144+ namespace fs = std::filesystem;
144145 cerr << " sites are not sorted in: " << filename << endl;
145- const std::filesystem ::path outpath{outfile};
146- if (std::filesystem ::exists (outpath))
147- std::filesystem ::remove (outpath);
146+ const fs ::path outpath{outfile};
147+ if (fs ::exists (outpath))
148+ fs ::remove (outpath);
148149 return EXIT_FAILURE;
149150 }
150151 }
You can’t perform that action at this time.
0 commit comments