Skip to content

Commit

Permalink
Fixes #82 . Correct wrong filename passed
Browse files Browse the repository at this point in the history
  • Loading branch information
David Jones committed Sep 8, 2018
1 parent 37c3054 commit 0cc5e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/estep.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ int estep_main(int argc, char *argv[]){
//Open files for output
uint32_t no_contigs = 0;
uint32_t total_contigs_length = 0;
int res_contig_cnt = fai_access_get_count_length_all_contigs(fa_file, &no_contigs, &total_contigs_length);
int res_contig_cnt = fai_access_get_count_length_all_contigs(ref_idx, &no_contigs, &total_contigs_length);
check(res_contig_cnt==0, "Error establishing contig count and name length.");

uint64_t buf_sz = (no_contigs * (strlen(contig_str) + strlen(assembly) + strlen(species) + 20 )) + total_contigs_length;
Expand Down

0 comments on commit 0cc5e01

Please sign in to comment.