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

Don't fill a new ImageStack with NaN #1609

Merged
merged 1 commit into from
Oct 18, 2019
Merged

Don't fill a new ImageStack with NaN #1609

merged 1 commit into from
Oct 18, 2019

Conversation

ttung
Copy link
Collaborator

@ttung ttung commented Oct 10, 2019

We've used this codepath enough that it's reasonably safe to assume that it'll work. This avoids the allocation of memory until the data is actually filled in.

Test plan: travis.

@codecov-io
Copy link

codecov-io commented Oct 10, 2019

Codecov Report

Merging #1609 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1609      +/-   ##
==========================================
- Coverage   88.04%   88.04%   -0.01%     
==========================================
  Files         155      155              
  Lines        5455     5454       -1     
==========================================
- Hits         4803     4802       -1     
  Misses        652      652
Impacted Files Coverage Δ
starfish/core/imagestack/imagestack.py 93.2% <ø> (-0.02%) ⬇️

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 d2df275...ae718c3. Read the comment docs.

@ttung ttung force-pushed the tonytung-no-fill branch 5 times, most recently from 0d1883d to e82b7b9 Compare October 16, 2019 21:35
We've used this codepath enough that it's reasonably safe to assume that it'll work.  This avoids the allocation of memory until the data is actually filled in.

Test plan: travis.
@ttung ttung merged commit f6facac into master Oct 18, 2019
@ttung ttung deleted the tonytung-no-fill branch October 18, 2019 21:47
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