error_messages

Format templates for HED schema error messages.

Add new errors here, or any other file imported after error_reporter.py.

Functions

SIDECAR_HED_USED()

SIDECAR_HED_USED_COLUMN()

def_error_bad_location(tag)

def_error_bad_prop_in_definition(tag, def_name)

def_error_def_tag_in_definition(tag, def_name)

def_error_duplicate_definition(def_name)

def_error_invalid_def_extension(tag, def_name)

def_error_no_group_tags(def_name)

def_error_no_takes_value(def_name, ...)

def_error_wrong_number_groups(def_name, tag_list)

def_error_wrong_number_tags(def_name, tag_list)

def_error_wrong_placeholder_count(def_name, ...)

invalid_column_ref(bad_ref)

malformed_column_ref(column_name, index, symbol)

nested_column_ref(column_name, ref_column)

onset_DURATION_HAS_OTHER_TAGS(tag)

onset_DURATION_WRONG_NUMBER_GROUPS(tag, tag_list)

onset_error_def_unmatched(tag)

onset_error_inset_before_onset(tag)

onset_error_offset_before_onset(tag)

onset_error_same_defs_one_row(tag, def_name)

onset_no_def_found(tag)

onset_too_many_defs(tag, tag_list)

onset_too_many_groups(tag, tag_list)

onset_wrong_placeholder(tag, has_placeholder)

onset_wrong_type_tag(tag, def_tag)

self_column_ref(self_ref)

sidecar_error_blank_hed_string()

sidecar_error_hed_data_type(expected_type, ...)

sidecar_error_invalid_pound_sign_count(...)

sidecar_error_too_many_pound_signs(...)

sidecar_error_unknown_column(column_name)

sidecar_na_used(column_name)

val_error_CURLY_BRACE_UNSUPPORTED_HERE(tag, ...)

val_error_INVALID_VALUE_CLASS_CHARACTER(tag, ...)

val_error_INVALID_VALUE_CLASS_VALUE(tag, ...)

val_error_ONSETS_UNORDERED()

val_error_bad_def_expand(tag, actual_def, ...)

val_error_comma_missing(tag)

val_error_def_expand_unmatched(tag)

val_error_def_expand_value_extra(tag)

val_error_def_expand_value_missing(tag)

val_error_def_unmatched(tag)

val_error_def_value_extra(tag)

val_error_def_value_missing(tag)

val_error_duplicate_column(column_number, ...)

val_error_duplicate_column_between_sources(...)

val_error_duplicate_group(group)

val_error_duplicate_tag(tag)

val_error_element_deprecated(tag)

val_error_empty_group(tag)

val_error_extra_column(column_name)

val_error_extra_comma(source_string, char_index)

val_error_extra_slashes_spaces(tag, problem_tag)

val_error_hed_blank_column(column_number)

val_error_invalid_char(source_string, char_index)

val_error_invalid_extension(tag)

val_error_invalid_parent(tag, problem_tag, ...)

val_error_invalid_tag_character(tag, problem_tag)

val_error_invalid_unit(tag, units)

val_error_missing_column(column_name, ...)

val_error_multiple_unique(tag_namespace)

val_error_no_valid_tag(tag, problem_tag)

val_error_no_value(tag[, value_class])

val_error_parentheses(...)

val_error_prefix_invalid(tag, tag_namespace)

val_error_require_child(tag)

val_error_sidecar_key_missing(invalid_key, ...)

val_error_sidecar_with_column(column_names)

val_error_tag_extended(tag, problem_tag)

val_error_tag_group_tag(tag)

val_error_temporal_tag_no_time(tag)

val_error_tildes_not_supported(...)

val_error_top_level_tag(tag)

val_error_top_level_tags(tag, multiple_tags)

val_error_unknown_namespace(tag, ...)

val_warning_capitalization(tag)

val_warning_default_units_used(tag, default_unit)

val_warning_required_prefix_missing(...)

SIDECAR_HED_USED()[source]
SIDECAR_HED_USED_COLUMN()[source]
def_error_bad_location(tag)[source]
def_error_bad_prop_in_definition(tag, def_name)[source]
def_error_def_tag_in_definition(tag, def_name)[source]
def_error_duplicate_definition(def_name)[source]
def_error_invalid_def_extension(tag, def_name)[source]
def_error_no_group_tags(def_name)[source]
def_error_no_takes_value(def_name, placeholder_tag)[source]
def_error_wrong_number_groups(def_name, tag_list)[source]
def_error_wrong_number_tags(def_name, tag_list)[source]
def_error_wrong_placeholder_count(def_name, expected_count, tag_list)[source]
invalid_column_ref(bad_ref)[source]
malformed_column_ref(column_name, index, symbol)[source]
nested_column_ref(column_name, ref_column)[source]
onset_DURATION_HAS_OTHER_TAGS(tag)[source]
onset_DURATION_WRONG_NUMBER_GROUPS(tag, tag_list)[source]
onset_error_def_unmatched(tag)[source]
onset_error_inset_before_onset(tag)[source]
onset_error_offset_before_onset(tag)[source]
onset_error_same_defs_one_row(tag, def_name)[source]
onset_no_def_found(tag)[source]
onset_too_many_defs(tag, tag_list)[source]
onset_too_many_groups(tag, tag_list)[source]
onset_wrong_placeholder(tag, has_placeholder)[source]
onset_wrong_type_tag(tag, def_tag)[source]
self_column_ref(self_ref)[source]
sidecar_error_blank_hed_string()[source]
sidecar_error_hed_data_type(expected_type, given_type)[source]
sidecar_error_invalid_pound_sign_count(pound_sign_count)[source]
sidecar_error_too_many_pound_signs(pound_sign_count)[source]
sidecar_error_unknown_column(column_name)[source]
sidecar_na_used(column_name)[source]
val_error_CURLY_BRACE_UNSUPPORTED_HERE(tag, problem_tag)[source]
val_error_INVALID_VALUE_CLASS_CHARACTER(tag, problem_tag, value_class)[source]
val_error_INVALID_VALUE_CLASS_VALUE(tag, problem_tag, value_class)[source]
val_error_ONSETS_UNORDERED()[source]
val_error_bad_def_expand(tag, actual_def, found_def)[source]
val_error_comma_missing(tag)[source]
val_error_def_expand_unmatched(tag)[source]
val_error_def_expand_value_extra(tag)[source]
val_error_def_expand_value_missing(tag)[source]
val_error_def_unmatched(tag)[source]
val_error_def_value_extra(tag)[source]
val_error_def_value_missing(tag)[source]
val_error_duplicate_column(column_number, column_name, list_name)[source]
val_error_duplicate_column_between_sources(column_number, column_name, list_names)[source]
val_error_duplicate_group(group)[source]
val_error_duplicate_tag(tag)[source]
val_error_element_deprecated(tag)[source]
val_error_empty_group(tag)[source]
val_error_extra_column(column_name)[source]
val_error_extra_comma(source_string, char_index)[source]
val_error_extra_slashes_spaces(tag, problem_tag)[source]
val_error_hed_blank_column(column_number)[source]
val_error_invalid_char(source_string, char_index)[source]
val_error_invalid_extension(tag)[source]
val_error_invalid_parent(tag, problem_tag, expected_parent_tag)[source]
val_error_invalid_tag_character(tag, problem_tag)[source]
val_error_invalid_unit(tag, units)[source]
val_error_missing_column(column_name, column_type)[source]
val_error_multiple_unique(tag_namespace)[source]
val_error_no_valid_tag(tag, problem_tag)[source]
val_error_no_value(tag, value_class='')[source]
val_error_parentheses(opening_parentheses_count, closing_parentheses_count)[source]
val_error_prefix_invalid(tag, tag_namespace)[source]
val_error_require_child(tag)[source]
val_error_sidecar_key_missing(invalid_key, category_keys)[source]
val_error_sidecar_with_column(column_names)[source]
val_error_tag_extended(tag, problem_tag)[source]
val_error_tag_group_tag(tag)[source]
val_error_temporal_tag_no_time(tag)[source]
val_error_tildes_not_supported(source_string, char_index)[source]
val_error_top_level_tag(tag)[source]
val_error_top_level_tags(tag, multiple_tags)[source]
val_error_unknown_namespace(tag, unknown_prefix, known_prefixes)[source]
val_warning_capitalization(tag)[source]
val_warning_default_units_used(tag, default_unit)[source]
val_warning_required_prefix_missing(tag_namespace)[source]