-
Notifications
You must be signed in to change notification settings - Fork 26
Smarter Overwrite #1191
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
Merged
Smarter Overwrite #1191
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d7c537b
smarter overwrite for Volume and Image save. Tests for overwrite beha…
j-c-c 9b7320e
smarter overwrite for ImageSource save. Tests for overwrite behavior.
j-c-c 893a4b3
cleanup
j-c-c d0dfd90
Add check_metadata to test.
j-c-c 68a87e2
fix try/except
j-c-c 4347856
rename_file function.
j-c-c e091e7e
rename_file test.
j-c-c cad0273
rename_file --> timestamp_filename. Use mock datetime.
j-c-c f843b22
mock datetime in test_volume.py
j-c-c 310e54d
add try/except block to catch bad filename
j-c-c d1bb47e
add try/except case to test_timestamp_filename. Also use mock datetime.
j-c-c becccbd
change mock datetimes
j-c-c edcaac3
Smart overwrite for MicrographSimulation. Supporting tests.
j-c-c b2a8500
Remove check raise message. Different message on windows.
j-c-c 642dc16
Rename method.
j-c-c ee7c5a1
Remove bool(overwrite)
j-c-c 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,7 @@ | |
| inverse_r, | ||
| J_conjugate, | ||
| powerset, | ||
| rename_with_timestamp, | ||
| sha256sum, | ||
| support_mask, | ||
| fuzzy_mask, | ||
|
|
||
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.
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.
Uh oh!
There was an error while loading. Please reload this page.