fix entrypoint for dlc by hmaarrfk · Pull Request #2863 · DeepLabCut/DeepLabCut

@hmaarrfk

@hmaarrfk

@hmaarrfk

@maximpavliv

I'm sorry, what is the issue your PR addresses?

@hmaarrfk

After you install deeplabcut 3.0 from your branch. The command dlc doesn’t because it points to

import dlc

Which doesn’t exist.

It should be
from deeplabcut.main import main

main()

which this ensures.

@hmaarrfk

@hmaarrfk

maximpavliv

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you PR into main branch please? pytorch_dlc is for changes related to the pytorch backend stuff

@MMathisLab

Can you PR into main branch please? pytorch_dlc is for changes related to the pytorch backend stuff

but it seems this is for DLC3.0 ... @maximpavliv cc @n-poulsen

@hmaarrfk

I don’t think this is worth so much discussion. I’m glad I brought this one liner to your attention.

Do with it as you wish! Thanks for the cool tools!!

@MMathisLab

Hey @hmaarrfk sorry for this; agree it's an easy merge from my view... thank you!

Can you reopen and I'll merge

@hmaarrfk

Definitely don't be sorry. Just want to get the external contributor review process out of this decision making.

I'm likely too slow to respond to suggestions....

@MMathisLab

Totally understand; if you can reopen I'm on it :)

@hmaarrfk

Feel free to push and rebase as you wish.

MMathisLab

@hmaarrfk