Skip to content

Commit

Permalink
adding pthread.h and minor typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hasindu2008 committed Jan 21, 2025
1 parent 3c921e0 commit 11f86b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/f5c.cu
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <pthread.h>

#include "error.h"
#include "f5c.h"
Expand Down
10 changes: 5 additions & 5 deletions src/fast5lite.h
Original file line number Diff line number Diff line change
Expand Up @@ -465,28 +465,28 @@ static inline std::string fast5_get_read_id_single_fast5(fast5_file_t fh)
#else

static inline fast5_file_t fast5_open(char* filename) {
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. s2f unavailable. Recompile with FAST5/HDF5 support.");
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. FAST5 reading unavailable. Recompile with FAST5/HDF5 support.");
exit(EXIT_FAILURE);
}

static inline int32_t fast5_read(fast5_file_t fh, signal_t* sig, std::string read_id){
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. s2f unavailable. Recompile with FAST5/HDF5 support.");
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. FAST5 reading unavailable. Recompile with FAST5/HDF5 support.");
exit(EXIT_FAILURE);
}

static inline void fast5_close(fast5_file_t fh) {
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. s2f unavailable. Recompile with FAST5/HDF5 support.");
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. FAST5 reading unavailable. Recompile with FAST5/HDF5 support.");
exit(EXIT_FAILURE);
}

static inline std::string fast5_get_read_id_single_fast5(fast5_file_t fh){
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. s2f unavailable. Recompile with FAST5/HDF5 support.");
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. FAST5 reading unavailable. Recompile with FAST5/HDF5 support.");
exit(EXIT_FAILURE);
}

#include <vector>
static inline std::vector<std::string> fast5_get_multi_read_groups(fast5_file_t fh){
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. s2f unavailable. Recompile with FAST5/HDF5 support.");
ERROR("%s", "f5c has been compiled with no FAST5/HDF5 support. FAST5 reading unavailable. Recompile with FAST5/HDF5 support.");
exit(EXIT_FAILURE);
}

Expand Down

0 comments on commit 11f86b7

Please sign in to comment.