-
Notifications
You must be signed in to change notification settings - Fork 61
ENH Copy plots on Card save #330
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
Merged
BenjaminBossan
merged 20 commits into
skops-dev:main
from
lazarust:ENH-copy-files-for-model-card
May 17, 2023
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
010a305
WIP copy files to path_in_repo
lazarust 94fda14
Merge branch 'main' into ENH-copy-files-for-model-card
lazarust 83c041a
Revert "WIP copy files to path_in_repo"
lazarust 1476294
Moves copying plots to Card.save()
lazarust 8439620
Merge branch 'main' into ENH-copy-files-for-model-card
lazarust ba77226
Adds test
lazarust b4fd730
Makes parameter optional
lazarust 92dda94
Updates changelog
lazarust b8ca68e
Merge branch 'main' into ENH-copy-files-for-model-card
lazarust ebe246f
Moves copying to `_generate_content`
lazarust 10c92ac
Copies plots to the same dir as README
lazarust 68f2b5b
Merge branch 'main' into ENH-copy-files-for-model-card
lazarust 71f8e31
Merge branch 'main' into ENH-copy-files-for-model-card
lazarust d0778de
Updated the test based off of feedback
lazarust f7f82d0
Fixes test for absolute path
lazarust b706044
Merge branch 'main' into ENH-copy-files-for-model-card
lazarust f7c2cf0
Removes needing to pass `copy_files` down between methods.
lazarust 0286b6e
Merge branch 'main' into ENH-copy-files-for-model-card
lazarust 3e36975
Merge branch 'main' into ENH-copy-files-for-model-card
lazarust 1872155
Updates doc string and cleans up parameter types
lazarust 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
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.
There is a bit of redundancy here: You cast
pathto aPathobject here but_generate_cardand_generate_contentboth acceptstrand the latter doesPath(destination_path). So either you just passpathwithout conversion, or those methods should not acceptstrand don't perform a 2nd round of conversion.