-
Notifications
You must be signed in to change notification settings - Fork 139
Draft: conversion from napari layers to movement datasets #1011
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
Draft
anna-teruel
wants to merge
16
commits into
neuroinformatics-unit:main
Choose a base branch
from
anna-teruel:save-widget
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+245
−7
Draft
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f683d28
adding my custom testing notebook
anna-teruel 15dbf35
corrected some typos in docstrings
anna-teruel 5bce103
napari_layers_to_ds function
anna-teruel 2422a44
supporting bboxes in napari_layers_to_ds
anna-teruel 90ba280
adding more docstrings and fixing a small bug
anna-teruel bbeea38
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a9e4326
docstrings
anna-teruel 93ec4f5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1c21f7d
adding fps param
anna-teruel 8451085
small fix
anna-teruel f06f28e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1a40f14
fixing conflicts
anna-teruel 45484c3
solve conflicts
anna-teruel 2f72ab7
apply pre-commit fixes
anna-teruel 6bf6d86
tests for napari_layer_to_ds
anna-teruel fd11ffc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch on these typos and thanks for keeping these unrelated fixes in their own commit.
When little fixes like this aren't related to what the PR is about, we prefer to open them as separate quick PRs (or even a single 'docs: fix typos' PR collecting several). It keeps each PR's history clean, telling one story, which makes reviews and future
git blameeasier. For context, we 'squash-merge' PRs, meaning that individual commits here won't be visible on themainbranch's history; instead the PR title becomes the commit message onmainafter merging (and hence good PR titles are important).For tiny stuff like this it's a soft preference, and I've violated it myself in the past.
But it's a habit worth building as changes get bigger, so I'd recommed doing it here.
The unrelated changes being cleanly isolated in their own commit will make things easier. I would handle this by using
git cherry-pickto move that commit onto a fresh branch offmainand open it as its own PR, then drop it from this branch (you can usegit revertfor that.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing this out! I think I fixed those typos while I was reading through the code, probably before I created this branch, and I didn't realize they had ended up mixed into this PR.
I agree that they should live in a separate PR. Sorry for the mess! 😅
Thanks for this info, I'll do that☺️