Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs classifier update #1030

Closed
wants to merge 5 commits into from

Conversation

landoskape
Copy link
Contributor

Following the discussion in issue #709, I added an explanation for how to apply a custom classifier to the documentation. I was having trouble figuring out how to do this, so I thought it would be nice to provide an explanation in the docs, rather than having users look through GitHub issues to figure it out.

the conda create statement for the developer version was incorrect (it added the "env" argument unnecessarily) and didn't specify which python version to use. The newest python (3.11) has updates to the dataclasses module, which prevent the ROI class from working properly (in detection/stats.py) due to it's not being hashable.
state is returned as an integer (0 for unchecked, 2 for checked). When state is compared with `QtCore.Qt.Checked`, it always evaluates to False, because Qt.Checked is an enum, not an int. Processing state through QtCore.Qt.CheckState fixes this error and allows the user to toggle ROIs on and off
Following the discussion in issue MouseLand#709, I added an explanation to the docs that explains how to apply a new classifier.
@chriski777
Copy link
Collaborator

Hey @landoskape, thanks for this contribution! I'm noticing that part of this pull request contains commits involving changes in #1029 that are later reverted in the last commit. Just to keep things cleaner, could you create a new pull request that only includes the commit 9d51827 that adds to the docs?

@landoskape
Copy link
Contributor Author

Yes, of course! Sorry about that. The new clean PR is in #1056.

@landoskape landoskape deleted the docs-classifier-update branch November 14, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants