Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions hed/errors/error_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ def val_warning_capitalization(tag):

@hed_tag_error(ValidationErrors.UNITS_MISSING, default_severity=ErrorSeverity.WARNING)
def val_warning_default_units_used(tag, default_unit):
if default_unit is None:
return f"No unit specified on - '{tag}'. No default unit is specified for type."
return f"No unit specified. Using '{default_unit}' as the default - '{tag}'"
return f"Tag '{tag}' expects units, but no units were given."


@hed_error(SidecarErrors.BLANK_HED_STRING)
Expand Down
148 changes: 0 additions & 148 deletions tests/schema/test_hed_cache.py

This file was deleted.