diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2013-06-12 09:27:52 -0400 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2013-06-12 09:27:52 -0400 |
commit | 13351ef77d9f9f1cd130e7cf3fb9ce5b5cfc83e8 (patch) | |
tree | 8dece118bd1eb621b7b994b69b100a348f9b7917 /src/c/quikr_functions.c | |
parent | 60ee644d6f1add6722eb8444385f203c6110975a (diff) |
use larger size for count_commmand, remove extra quotes, and fix a broken check in multifasta2otu
Diffstat (limited to 'src/c/quikr_functions.c')
-rw-r--r-- | src/c/quikr_functions.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/c/quikr_functions.c b/src/c/quikr_functions.c index 6a82320..1f188a9 100644 --- a/src/c/quikr_functions.c +++ b/src/c/quikr_functions.c @@ -44,8 +44,8 @@ void normalize_matrix(double *matrix, long height, long width) { double *load_count_matrix(char *filename, long width, int kmer) { - double *count_matrix = malloc((width)*sizeof(double)); - char count_command[512]; + double *count_matrix = malloc(width*sizeof(double)); + char count_command[1024]; long x = 0; char *line = NULL; size_t len = 0; @@ -115,6 +115,7 @@ double *load_sensing_matrix(char *filename, long height, long width) { return sensing_matrix; } + char **load_headers(char *filename, long sequences) { char command[512]; char *line= NULL; |