-
Notifications
You must be signed in to change notification settings - Fork 99
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
Add option to export to CSV via sleap-convert and API #1730
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
db7f3d4
Add csv as a format option
eberrigan 3ecc99a
Add analysis to format
eberrigan c4fb39e
Add csv suffix to output path
eberrigan c998d3d
Add condition for csv analysis file
eberrigan d2b658c
Add export function to Labels class
eberrigan 0b51fea
Merge branch 'develop' into elizabeth/add-option-to-export-to-csv
eberrigan 85d122c
Merge branch 'develop' into elizabeth/add-option-to-export-to-csv
talmo 9eb4270
Merge branch 'develop' into elizabeth/add-option-to-export-to-csv
talmo ff7ee51
delete print statement
eberrigan f7929a2
lint
eberrigan 821d114
Add `analysis.csv` as parametrize input for `sleap-convert` tests
eberrigan 3eeb9fd
test `export_csv` method added to `Labels` class
eberrigan b4bdca1
black formatting
eberrigan 79d0654
use `Path` to construct filename
eberrigan e508587
add `analysis.csv` to cli guide for `sleap-convert`
eberrigan 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 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 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 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 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 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.
Refactor the logic for determining the output file suffix into a separate function to improve code readability and maintainability.
Committable suggestion