summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/load/load_influenza_faa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/load/load_influenza_faa.c b/src/load/load_influenza_faa.c
index 0026d11..c44a671 100644
--- a/src/load/load_influenza_faa.c
+++ b/src/load/load_influenza_faa.c
@@ -58,9 +58,6 @@ load_influenza_faa (hid_t file_id, const char *file_name)
strncpy (p_data.description, strsep (&running, "|"),
sizeof (p_data.description));
- const char *sequence_data_field_names[SEQUENCE_DATA_FIELD_NUM] =
- SEQUENCE_DATA_FIELD_NAMES;
-
if (current_line == 1)
{
/*
@@ -93,6 +90,9 @@ load_influenza_faa (hid_t file_id, const char *file_name)
*/
else
{
+ const char *sequence_data_field_names[SEQUENCE_DATA_FIELD_NUM] =
+ SEQUENCE_DATA_FIELD_NAMES;
+
herr_t status = H5TBmake_table ("influenza.faa", file_id,
"influenza.faa",
SEQUENCE_DATA_FIELD_NUM, 1,

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.