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 method runtime parameters to logging #1685

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shanaxel42
Copy link
Collaborator

fixes #1109

Added a small test

@shanaxel42 shanaxel42 requested a review from ttung December 4, 2019 00:31
@codecov-io
Copy link

codecov-io commented Dec 4, 2019

Codecov Report

Merging #1685 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1685      +/-   ##
==========================================
+ Coverage   90.13%   90.15%   +0.02%     
==========================================
  Files         233      233              
  Lines        8870     8871       +1     
==========================================
+ Hits         7995     7998       +3     
+ Misses        875      873       -2
Impacted Files Coverage Δ
starfish/core/pipeline/algorithmbase.py 100% <100%> (ø) ⬆️
starfish/core/util/logging.py 97.82% <100%> (ø) ⬆️
starfish/test/full_pipelines/api/test_iss_api.py 100% <100%> (ø) ⬆️
...arfish/core/image/_registration/transforms_list.py 98.03% <0%> (+3.92%) ⬆️

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 841d799...0b6ae6a. Read the comment docs.

@@ -123,6 +123,7 @@ def test_iss_pipeline_cropped_data(tmpdir):

assert pipeline_log[0]['method'] == 'WhiteTophat'
assert pipeline_log[1]['method'] == 'Warp'
assert 'transforms_list' in pipeline_log[1]['method_runtime_parameters']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So when it logs the transforms list, what gets logged here? The actual object?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the string representation of the object

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.

Runtime parameters to a pipeline component algorithm's are not logged
3 participants