Skip to content
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 the ability to write labeled experiments #1374

Merged
merged 1 commit into from
May 24, 2019
Merged

Conversation

ttung
Copy link
Collaborator

@ttung ttung commented May 24, 2019

Need this for the generalized experiment formatter (#1318), and @njmei needs it for #1322.

Test plan: pytest -v -n4 starfish/core/experiment/builder/test/

Need this for the generalized experiment formatter (#1318), and @njmei needs it for #1322.

Test plan: `pytest -v -n4 starfish/core/experiment/builder/test/`
@codecov-io
Copy link

codecov-io commented May 24, 2019

Codecov Report

Merging #1374 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1374      +/-   ##
==========================================
+ Coverage    89.2%   89.21%   +<.01%     
==========================================
  Files         148      148              
  Lines        5373     5376       +3     
==========================================
+ Hits         4793     4796       +3     
  Misses        580      580
Impacted Files Coverage Δ
starfish/core/experiment/builder/__init__.py 100% <100%> (ø) ⬆️
starfish/core/experiment/builder/cli.py 91.3% <100%> (+0.39%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f7b3fc...0602e53. Read the comment docs.

@ttung ttung merged commit 618e891 into master May 24, 2019
@ttung ttung deleted the tonytung-labeled-exp branch May 24, 2019 18:36
ttung pushed a commit that referenced this pull request May 31, 2019
Both `build_image` and `write_experiment_json` get an irregular flavor.  In each case, the irregular case accepts an iterator of `TileCoordinate` objects, which record where the tile is in the 5D tensor.  `build_image` and `write_experiment_json` internally call their irregular flavors because they are very generalized.

#1374 introduced `write_labeled_experiment_json`, and this replaces that operation.  We are not deprecating that API because it never made it into a release; we will simply replace it.

Test plan: travis

Fixes #1322
ttung pushed a commit that referenced this pull request Jun 6, 2019
Both `build_image` and `write_experiment_json` get an irregular flavor.  In each case, the irregular case accepts an iterator of `TileCoordinate` objects, which record where the tile is in the 5D tensor.  `build_image` and `write_experiment_json` internally call their irregular flavors because they are very generalized.

#1374 introduced `write_labeled_experiment_json`, and this replaces that operation.  We are not deprecating that API because it never made it into a release; we will simply replace it.

Test plan: travis

Fixes #1322
ttung pushed a commit that referenced this pull request Jun 6, 2019
Both `build_image` and `write_experiment_json` get an irregular flavor.  In each case, the irregular case accepts an iterator of `TileCoordinate` objects, which record where the tile is in the 5D tensor.  `build_image` and `write_experiment_json` internally call their irregular flavors because they are very generalized.

#1374 introduced `write_labeled_experiment_json`, and this replaces that operation.  We are not deprecating that API because it never made it into a release; we will simply replace it.

Test plan: travis

Fixes #1322
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants