Skip to content

Conversation

@jenna-tomkinson
Copy link
Member

@jenna-tomkinson jenna-tomkinson commented Jan 29, 2025

In this PR, I have added None as the default for labels_dir to avoid an error popping up if you do not assign a labels directory in the functions. This solves issue #18.

What kind of change(s) are included?

  • Documentation (changes docs or other related content)
  • Bug fix (fixes an issue).
  • Enhancement (adds functionality).
  • Breaking change (these changes would cause existing functionality to not work as expected).

Checklist

Please ensure that all boxes are checked before indicating that this pull request is ready for review.

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have searched for existing content to ensure this is not a duplicate.
  • I have performed a self-review of these additions (including spelling, grammar, and related).
  • These changes pass all pre-commit checks.
  • I have added comments to my code to help provide understanding
  • I have added a test which covers the code changes found within this PR
  • I have deleted all non-relevant text in this pull request template.

@jenna-tomkinson jenna-tomkinson requested a review from d33bs January 29, 2025 17:07
Copy link
Member

@d33bs d33bs left a comment

Choose a reason for hiding this comment

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

Thanks @jenna-tomkinson ! This LGTM! I noticed there's a minor patch that's needed to pass the pre-commit check, otherwise squash + merge at will :) (should just be a matter of pre-commit run --all and push the resulting change to the pre-commit-config.yaml).

d33bs and others added 2 commits February 14, 2025 10:34
…ooling (WayScience#17)

* run linux tests on dev branch

* don't show if headless

* install qt deps

* try async setting

* Update run-tests.yml

* try additional qt libs

* troubleshoot further with docker

* linting

* Update run-tests.yml

* Update run-tests.yml

* Update run-tests.yml

* Update uv.lock

* fallback to napari[all] and setup qt for ubuntu

* move to macos-14 for tests

* add python3-pyqt5 installation

* attempt to install different qt deps

* Update run-tests.yml

* attempt another linux dep step

* update for linting step

* update docs
@jenna-tomkinson
Copy link
Member Author

@d33bs I think I fixed this issue! Can you confirm quickly that I didn't mess anything up?

@jenna-tomkinson jenna-tomkinson merged commit 2c312d1 into WayScience:main Feb 14, 2025
4 of 5 checks passed
@jenna-tomkinson jenna-tomkinson deleted the fix_default_label_bug branch February 14, 2025 18:06
MikeLippincott pushed a commit to MikeLippincott/nViz that referenced this pull request Sep 29, 2025
* update labels parameter to include default

* [pre-commit.ci lite] apply automatic fixes

* Enable Linux compatibility with dependency changes and improved dev tooling (WayScience#17)

* run linux tests on dev branch

* don't show if headless

* install qt deps

* try async setting

* Update run-tests.yml

* try additional qt libs

* troubleshoot further with docker

* linting

* Update run-tests.yml

* Update run-tests.yml

* Update run-tests.yml

* Update uv.lock

* fallback to napari[all] and setup qt for ubuntu

* move to macos-14 for tests

* add python3-pyqt5 installation

* attempt to install different qt deps

* Update run-tests.yml

* attempt another linux dep step

* update for linting step

* update docs

* [pre-commit.ci lite] apply automatic fixes

* fix conflict i hope

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Dave Bunten <dave.bunten@cuanschutz.edu>
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