Skip to content

Commit 2ff6719

Browse files
committed
new tests
1 parent 334eaf9 commit 2ff6719

14 files changed

+552
-8
lines changed

src/read_fast5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ herr_t fast5_attribute_itr (hid_t loc_id, const char *name, const H5A_info_t *i
584584
size_t buf_cap = BUFFER_CAP;
585585
char* warn_message = (char*) malloc(buf_cap * sizeof(char));
586586
MALLOC_CHK(warn_message);
587-
sprintf(warn_message,"Attribute %s/%s in %s is corrupted (datatype %s instead of expected %s). This is a known issue in ont_fast5_api's compress_fast5. Please see https://github.com/hasindu2008/slow5tools/issues/59 for more information.",operator_data->group_name, name, operator_data->fast5_path, h5t_class_string.c_str(), "H5T_ENUM");
587+
sprintf(warn_message,"Attribute %s/%s in %s is corrupted (datatype %s instead of expected %s). This is a known issue in ont_fast5_api's compress_fast5 (see https://github.com/hasindu2008/slow5tools/issues/59 and https://github.com/nanoporetech/ont_fast5_api/issues/70).\nCorrupted attribute will be dumped as it is, but would cause issues when merging. It is recommended that you fix your FAST5 files before SLOW5 coversion, by bugging ONT through GitHub issues",operator_data->group_name, name, operator_data->fast5_path, h5t_class_string.c_str(), "H5T_ENUM");
588588
search_and_warn(operator_data,key,warn_message);
589589
free(warn_message);
590590
}

test/data/exp/merge/a.slow5

Lines changed: 63 additions & 0 deletions
Large diffs are not rendered by default.

test/data/exp/merge/diff_rg_diff_aux_field.slow5

Lines changed: 39 additions & 0 deletions
Large diffs are not rendered by default.

test/data/exp/merge/same_rg_diff_aux_field.slow5

Lines changed: 38 additions & 0 deletions
Large diffs are not rendered by default.

test/data/raw/merge/aux_enum_diff_label.slow5

Lines changed: 37 additions & 0 deletions
Large diffs are not rendered by default.

test/data/raw/merge/aux_enum_new_label.slow5

Lines changed: 37 additions & 0 deletions
Large diffs are not rendered by default.

test/data/raw/merge/aux_enum_order_label.slow5

Lines changed: 37 additions & 0 deletions
Large diffs are not rendered by default.

test/data/raw/merge/aux_enum_uint8_t.slow5

Lines changed: 37 additions & 0 deletions
Large diffs are not rendered by default.

test/data/raw/merge/rg0_1_diff_aux_field.slow5

Lines changed: 36 additions & 0 deletions
Large diffs are not rendered by default.

test/data/raw/merge/rg0_1_diff_aux_type.slow5

Lines changed: 36 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)