Skip to content

Commit

Permalink
Merge tag '1.14.1' into dev
Browse files Browse the repository at this point in the history
* Adding more useful error message to cn_access file reading method
  • Loading branch information
David Jones committed Dec 9, 2019
2 parents 2f28695 + ae7246f commit 7961208
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGES

## 1.14.1

* Adding more useful error message to cn_access file reading method

## 1.14.0

* Making species and assembly required commandline arguments in the estep
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.14.0
CAVEMAN_VERSION=1.14.1

TEST_REF?=""
#Compiler
Expand Down
2 changes: 1 addition & 1 deletion src/cn_access.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ int cn_access_populate_cn(char *file_loc,uint8_t is_normal){
char *chr_nom = malloc(sizeof(char) * 250);
int beg,end;
int chk = sscanf(rd,"%s\t%d\t%d\t%d",chr_nom,&beg,&end,&cop);
check(chk == 4,"Incorrect line parsed from copy number file.\n");
check(chk == 4,"Unusable line '%s' parsed from copy number file '%s'.\n",rd,file_loc);
seq_region_t *reg = malloc(sizeof(struct seq_region_t));
reg->chr_name = chr_nom;
reg->beg = beg;
Expand Down

0 comments on commit 7961208

Please sign in to comment.