Skip to content

Commit

Permalink
Merge pull request #108 from ttngu207/main
Browse files Browse the repository at this point in the history
style: black formatting
  • Loading branch information
MilagrosMarin authored Mar 22, 2024
2 parents 190150d + 61ee5fa commit e6944a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions element_deeplabcut/export/nwb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions element_deeplabcut/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions element_deeplabcut/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""
Package metadata
"""

__version__ = "0.2.12"

0 comments on commit e6944a9

Please sign in to comment.