Skip to content

Commit

Permalink
Merge pull request #71 from gmcvicker/development
Browse files Browse the repository at this point in the history
Merge bugfix from gmcvicker/WASP
  • Loading branch information
gmcvicker authored Aug 6, 2018
2 parents b83a355 + f795d40 commit 556055e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions snp2h5/seq.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,7 @@ void seq_write_fasta_record(Seq *seq, gzFile f) {
int line_len;

/* write header */
if(seq->name == NULL) {
gzprintf(f, ">\n");
} else {
gzprintf(f, ">%s\n", seq->name);
}
gzprintf(f, ">%s\n", seq->name);

line_len = 0;

Expand Down
2 changes: 1 addition & 1 deletion snp2h5/snp2h5.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ void init_h5matrix(H5MatrixInfo *info,
void write_h5matrix_row(H5MatrixInfo *info, hsize_t row_num,
void *row_data) {
hsize_t offset[2];
hsize_t count[1];
hsize_t count[2];
herr_t status;

/* select a hyperslab that corresponds to a
Expand Down

0 comments on commit 556055e

Please sign in to comment.