-
Notifications
You must be signed in to change notification settings - Fork 68
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
Update in-place experiment writing to use the new WriterContract API in slicedimage 4.0.0 #1447
Conversation
53c97aa
to
800c651
Compare
I get an
|
@njmei I made a mistake in an earlier refactor. spacetx/slicedimage#110 |
|
||
Please note that enabling in-place experiment construction should be only done in an isolated script | ||
dedicated to constructing an experiment, as it modifies some existing code paths. | ||
1. Call write_experiment_json with writer_contract=InplaceWriterContract. |
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.
Should be:
writer_contract=InplaceWriterContract()
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.
Updated.
if fov_path_generator is not None or tile_opener is not None: | ||
warnings.warn( | ||
"`fov_path_generator` and `tile_opener` options for writing experiment files is " | ||
"deprecated. Use `riter_contract` instead.", |
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.
"deprecated. Use `riter_contract` instead.", | |
"deprecated. Use `writer_contract` instead.", |
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.
Fixed!
800c651
to
6411db3
Compare
Codecov Report
@@ Coverage Diff @@
## master #1447 +/- ##
=========================================
- Coverage 89.78% 89.7% -0.08%
=========================================
Files 161 161
Lines 5972 5956 -16
=========================================
- Hits 5362 5343 -19
- Misses 610 613 +3
Continue to review full report at Codecov.
|
218d64e
to
b12514a
Compare
…in slicedimage 4.0.0 Test plan: in-place experiment writing tests pass.
b12514a
to
e464306
Compare
Test plan: in-place experiment writing tests pass.
Note that travis won't succeed until spacetx/slicedimage#109 is approved and released.