Skip to content

Commit

Permalink
Add transition enums to hmmer_reader.h and update fsm.c
Browse files Browse the repository at this point in the history
- Added transition enums to hmmer_reader.h
- Removed trans.h and its inclusion in fsm.c
- Updated .gitignore to include new patterns
  • Loading branch information
horta committed Sep 19, 2024
1 parent d4c12be commit 1cd43dd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
4 changes: 4 additions & 0 deletions hmmer-reader/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*.d
*.o
test_[^\.]*

compile_commands.json
.cache/
*-build-*/
Expand Down
1 change: 0 additions & 1 deletion hmmer-reader/fsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "position.h"
#include "posix.h"
#include "to.h"
#include "trans.h"
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
Expand Down
11 changes: 11 additions & 0 deletions hmmer-reader/hmmer_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ enum
HMR_TRANS_SIZE = 7,
};

enum hmr_trans
{
HMR_TRANS_MM,
HMR_TRANS_MI,
HMR_TRANS_MD,
HMR_TRANS_IM,
HMR_TRANS_II,
HMR_TRANS_DM,
HMR_TRANS_DD
};

struct hmr_node
{
unsigned symbols_size;
Expand Down
15 changes: 0 additions & 15 deletions hmmer-reader/trans.h

This file was deleted.

0 comments on commit 1cd43dd

Please sign in to comment.