From 61ee5fad21ce833ee69191b65e8c9484909b0b45 Mon Sep 17 00:00:00 2001 From: Thinh Nguyen Date: Fri, 22 Mar 2024 12:11:34 -0500 Subject: [PATCH] style: black formatting --- element_deeplabcut/export/nwb.py | 2 ++ element_deeplabcut/model.py | 2 ++ element_deeplabcut/version.py | 1 + 3 files changed, 5 insertions(+) diff --git a/element_deeplabcut/export/nwb.py b/element_deeplabcut/export/nwb.py index 5a67610..75daa4b 100644 --- a/element_deeplabcut/export/nwb.py +++ b/element_deeplabcut/export/nwb.py @@ -3,6 +3,7 @@ MIT License Copyright (c) 2022 Alexander Mathis DataJoint export methods for DeepLabCut 2.x """ + import logging import warnings from pathlib import Path @@ -11,6 +12,7 @@ from hdmf.build.warnings import DtypeConversionWarning from .. import model + try: # Not all users will want NWB export, so dependency not in requirements. from dlc2nwb.utils import convert_h5_to_nwb, write_subject_to_nwb except ImportError: diff --git a/element_deeplabcut/model.py b/element_deeplabcut/model.py index 8a6e47f..a57ecbb 100644 --- a/element_deeplabcut/model.py +++ b/element_deeplabcut/model.py @@ -3,6 +3,7 @@ MIT License Copyright (c) 2022 Mackenzie Mathis DataJoint Schema for DeepLabCut 2.x, Supports 2D and 3D DLC via triangulation. """ + import datajoint as dj import os import cv2 @@ -374,6 +375,7 @@ def insert_new_model( prompt (bool): Optional. Prompt the user with all info before inserting. params (dict): Optional. If dlc_config is path, dict of override items """ + from deeplabcut.utils.auxiliaryfunctions import GetScorerName # isort:skip # handle dlc_config being a yaml file diff --git a/element_deeplabcut/version.py b/element_deeplabcut/version.py index 9d31bd6..192ec06 100644 --- a/element_deeplabcut/version.py +++ b/element_deeplabcut/version.py @@ -1,4 +1,5 @@ """ Package metadata """ + __version__ = "0.2.12"