DeepLabCut / DLC2NWB

Utilities to convert DeepLabCut (DLC), output to/from Neurodata Without Borders (NWB) format.
MIT License
14 stars 7 forks source link

Safer DLC version retrieval #18

Closed CodyCBakerPhD closed 1 year ago

CodyCBakerPhD commented 1 year ago

In combination with a follow-up release as requested in #17, this would also allow even safer fetching of the DLC package version by not having to trigger the import, which causes the issue on https://github.com/DeepLabCut/DeepLabCut/issues/2104

Also organized imports in utils according to PEP8

Also added a comment to the _write_pes_to_nwbfile function describing the intended form, which was hard to infer just by looking at the usage. Annotation typing and docstrings would be even more preferred though

jeylau commented 1 year ago

Just left 2 very minor comments, looks great otherwise @CodyCBakerPhD! Thanks a lot!