-rw-r--r-- | src/Makefile.am | 11 | ||||
-rw-r--r-- | src/aggregator.c | 7 | ||||
-rw-r--r-- | src/updator.c | 33 |
3 files changed, 43 insertions, 8 deletions
diff --git a/src/aggregator.c b/src/aggregator.c index 36ea18c..07aba39 100644 --- a/src/aggregator.c +++ b/src/aggregator.c | |||
@@ -3,7 +3,6 @@ | |||
3 | * container. | 3 | * container. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "assign_protein_type.h" | ||
7 | #include "check_h5_error.h" | 6 | #include "check_h5_error.h" |
8 | #include "load_influenza_aa_dat.h" | 7 | #include "load_influenza_aa_dat.h" |
9 | #include "load_influenza_faa.h" | 8 | #include "load_influenza_faa.h" |
@@ -17,6 +16,8 @@ main () | |||
17 | * Create the HDF5 file. | 16 | * Create the HDF5 file. |
18 | */ | 17 | */ |
19 | hid_t file_id = H5Fcreate (FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); | 18 | hid_t file_id = H5Fcreate (FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); |
19 | if (file_id < 0) | ||
20 | check_h5_error (file_id, __FILE__, __LINE__); | ||
20 | 21 | ||
21 | /* | 22 | /* |
22 | * Load the supplementary protein data file. | 23 | * Load the supplementary protein data file. |
@@ -29,13 +30,11 @@ main () | |||
29 | load_influenza_faa (file_id); | 30 | load_influenza_faa (file_id); |
30 | 31 | ||
31 | /* | 32 | /* |
32 | * Close the HD5 file. | 33 | * Close the HDF5 file. |
33 | */ | 34 | */ |
34 | herr_t status = H5Fclose (file_id); | 35 | herr_t status = H5Fclose (file_id); |
35 | if (status < 0) | 36 | if (status < 0) |
36 | check_h5_error (status, __FILE__, __LINE__); | 37 | check_h5_error (status, __FILE__, __LINE__); |
37 | 38 | ||
38 | // assign_protein_type (0); | ||
39 | |||
40 | return 0; | 39 | return 0; |
41 | } | 40 | } |