We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b83a355 + f795d40 commit 556055eCopy full SHA for 556055e
snp2h5/seq.c
@@ -192,11 +192,7 @@ void seq_write_fasta_record(Seq *seq, gzFile f) {
192
int line_len;
193
194
/* write header */
195
- if(seq->name == NULL) {
196
- gzprintf(f, ">\n");
197
- } else {
198
- gzprintf(f, ">%s\n", seq->name);
199
- }
+ gzprintf(f, ">%s\n", seq->name);
200
201
line_len = 0;
202
snp2h5/snp2h5.c
@@ -485,7 +485,7 @@ void init_h5matrix(H5MatrixInfo *info,
485
void write_h5matrix_row(H5MatrixInfo *info, hsize_t row_num,
486
void *row_data) {
487
hsize_t offset[2];
488
- hsize_t count[1];
+ hsize_t count[2];
489
herr_t status;
490
491
/* select a hyperslab that corresponds to a
0 commit comments