Skip to content

Commit

Permalink
Always generate sites.txt with isec -p. Resolves #1462
Browse files Browse the repository at this point in the history
  • Loading branch information
pd3 committed Apr 16, 2021
1 parent 308c149 commit 26aa4b2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vcfisec.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,9 @@ static void init_data(args_t *args)
fprintf(args->fh_log,"%s\tfor stripped\t%s\n", args->fnames[i], args->files->readers[i].fname);
}
#undef OPEN_FILE

args->fh_sites = open_file(NULL, "w", "%s/sites.txt", args->prefix);
if ( !args->fh_sites ) error("%s/sites.txt: %s\n", args->prefix, strerror(errno));
}
args->fh_sites = open_file(NULL, "w", "%s/sites.txt", args->prefix);
if ( !args->fh_sites ) error("%s/sites.txt: %s\n", args->prefix, strerror(errno));
}
else {
if (args->output_fname) {
Expand Down

0 comments on commit 26aa4b2

Please # to comment.