Skip to content
Draft
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
14 changes: 14 additions & 0 deletions dlclibrary/deprecation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# DeepLabCut Toolbox (deeplabcut.org)
# © A. & M.W. Mathis Labs
# https://github.com/DeepLabCut/DeepLabCut
#
# Please see AUTHORS for contributors.
# https://github.com/DeepLabCut/DeepLabCut/blob/master/AUTHORS
#
# Licensed under GNU Lesser General Public License v3.0
#


class DLCDeprecationWarning(DeprecationWarning):
"""Project-specific deprecation warning. Helps with filtering."""
10 changes: 10 additions & 0 deletions dlclibrary/io/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# DeepLabCut Toolbox (deeplabcut.org)
# © A. & M.W. Mathis Labs
# https://github.com/DeepLabCut/DeepLabCut
#
# Please see AUTHORS for contributors.
# https://github.com/DeepLabCut/DeepLabCut/blob/master/AUTHORS
#
# Licensed under GNU Lesser General Public License v3.0
#
38 changes: 38 additions & 0 deletions dlclibrary/io/config/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# DeepLabCut Toolbox (deeplabcut.org)
# © A. & M.W. Mathis Labs
# https://github.com/DeepLabCut/DeepLabCut
#
# Please see AUTHORS for contributors.
# https://github.com/DeepLabCut/DeepLabCut/blob/master/AUTHORS
#
# Licensed under GNU Lesser General Public License v3.0
#
from dlclibrary.io.config.base_config import DLCBaseConfig, DLCVersionedConfig
from dlclibrary.io.config.project_config import ProjectConfig
from dlclibrary.io.config.utils import (
get_yaml_dumper,
get_yaml_loader,
normalize_for_serialization,
pretty_print,
read_config_as_dict,
resolve_alias,
resolve_aliases_in_dict,
write_config,
)

__all__ = [
"DLCBaseConfig",
"DLCVersionedConfig",
"ProjectConfig",
"pretty_print",
"read_config_as_dict",
"resolve_alias",
"resolve_aliases_in_dict",
"write_config",
"get_yaml_loader",
"get_yaml_dumper",
"versioning",
"validation",
"normalize_for_serialization",
]
Loading
Loading