Skip to content

Commit

Permalink
Merge branch 'development' of github.com:gmcvicker/WASP into development
Browse files Browse the repository at this point in the history
  • Loading branch information
gmcvicker committed Aug 29, 2018
2 parents b83a355 + f795d40 commit 287f3eb
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 287f3eb

Please sign in to comment.