Skip to content

Commit

Permalink
Merge branch 'hotfix/1.13.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
David Jones committed Sep 8, 2018
2 parents b6b09ca + 0cc5e01 commit df19022
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGES

## 1.13.4

* Fix incorrect file path introduced in 1.13.3
* Fixes #82

## 1.13.3

* Add gzbuffer call after gzopen to ensure we don't hit the limit where many contigs are printed
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CAVEMAN_VERSION=1.13.3
CAVEMAN_VERSION=1.13.4
TEST_REF?=""
#Compiler
CC?=gcc
Expand Down
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 df19022

Please sign in to comment.