mirror of
https://github.com/macaodha/batdetect2.git
synced 2025-06-29 22:51:58 +02:00
Added a data_source term.
This commit is contained in:
parent
dfd14df7b9
commit
355847346e
@ -25,6 +25,7 @@ from batdetect2.configs import load_config
|
||||
__all__ = [
|
||||
"call_type",
|
||||
"individual",
|
||||
"data_source",
|
||||
"get_tag_from_info",
|
||||
"TermInfo",
|
||||
"TagInfo",
|
||||
@ -35,6 +36,16 @@ __all__ = [
|
||||
GENERIC_CLASS_KEY = "class"
|
||||
|
||||
|
||||
data_source = data.Term(
|
||||
name="soundevent:data_source",
|
||||
label="Data Source",
|
||||
definition=(
|
||||
"A unique identifier for the source of the data, typically "
|
||||
"representing the project, site, or deployment context."
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
call_type = data.Term(
|
||||
name="soundevent:call_type",
|
||||
label="Call Type",
|
||||
@ -225,6 +236,7 @@ term_registry = TermRegistry(
|
||||
*getmembers(terms, lambda x: isinstance(x, data.Term)),
|
||||
("call_type", call_type),
|
||||
("individual", individual),
|
||||
("data_source", data_source),
|
||||
(GENERIC_CLASS_KEY, generic_class),
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user