This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Repository navigation
Make segmenter run as user pi - #74
Merged
Merged
Conversation
ethanjli
marked this pull request as ready for review
February 24, 2025 22:57
2 tasks done
ethanjli
enabled auto-merge
February 24, 2025 23:00
Member
Author
|
I tested this and everything seems to work fine! https://github.com/PlanktoScope/pallet-segmenter requires a workaround to Docker creating bind mounts with root ownership; the workaround is to manually create the bind-mounted directories as the non-root user (i.e. with UID 1000). This workaround is also performed in the OS setup scripts as changed in fairscope/PlanktoScope#538 . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of fairscope/PlanktoScope#538 to make the
/home/pi/datadirectory - including its subdirectories - have ownership by thepiuser.This PR also fixes a bug discovered during testing, in which reuse of an already-used acquisition ID did not correctly terminate data acquisition (likely a regression introduced by #19)
This PR also simplifies the
pyproject.tomlfiles by removing support for downloading 32-bit Python package wheels from https://www.piwheels.org/, following up on PlanktoScope OS v2024.0.0-beta.0's deprecation of support for 32-bit base OS images.