8000 Move the registration tests next to their sources. by ttung · Pull Request #1134 · spacetx/starfish · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move the registration tests next to their sources. #1134

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 1 commit into from
Apr 5, 2019

Conversation

ttung
Copy link
Collaborator
@ttung ttung commented Apr 4, 2019

This code started before #1111 landed, so it stuck with the older convention.

  1. Group _apply_transform and _learn_transform into a _registration package. This is because there is common code to the two (basically TransformsList).
  2. Move tests into each package. test_registration.py is broken up into multiple files, each tied to the package they reside in.
  3. Ninja'd in the removal of starfish/spots/test/__init__.py. Not even sure why that's there.

@ttung ttung requested a review from shanaxel42 April 4, 2019 08:10
@codecov-io
Copy link
codecov-io commented Apr 4, 2019

Codecov Report

Merging #1134 into master will increase coverage by 0.54%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1134      +/-   ##
==========================================
+ Coverage   89.82%   90.36%   +0.54%     
==========================================
  Files         126      124       -2     
  Lines        4600     4516      -84     
==========================================
- Hits         4132     4081      -51     
+ Misses        468      435      -33
Impacted Files Coverage Δ
...h/image/_registration/_apply_transform/__init__.py 100% <ø> (ø)
starfish/image/_registration/transforms_list.py 100% <ø> (ø)
...h/image/_registration/_learn_transform/__init__.py 100% <ø> (ø)
starfish/image/__init__.py 100% <100%> (ø) ⬆️
...mage/_registration/_learn_transform/translation.py 97.05% <100%> (ø)
...fish/image/_registration/_learn_transform/_base.py 96.77% <100%> (ø)
...rfish/image/_registration/_apply_transform/warp.py 97.14% <100%> (ø)
...fish/image/_registration/_apply_transform/_base.py 96.96% <100%> (ø)
starfish/experiment/builder/__init__.py 94.54% <0%> (-0.1%) ⬇️
starfish/spots/_target_assignment/_base.py 97.22% <0%> (ø) ⬆️
... and 5 more

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 36902c1...d4b5ebe. Read the comment docs.

8000

@ttung ttung force-pushed the tonytung-registration-test branch from 90912c0 to 2839411 Compare April 4, 2019 08:18
Copy link
Collaborator
@shanaxel42 shanaxel42 left a comment

Choose a reason for hiding this comment

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

sorry!

@ttung ttung force-pushed the tonytung-registration-test branch from 2839411 to d4b5ebe Compare April 5, 2019 01:45
1. Group `_apply_transform` and `_learn_transform` into a `_registration` package.  This is because there is common code to the two (basically `TransformsList`).
2. Move tests into each package.  `test_registration.py` is broken up into multiple files, each tied to the package they reside in.
3. Ninja'd in the removal of `starfish/spots/test/__init__.py`.  Not even sure why that's there.
@ttung ttung force-pushed the tonytung-registration-test branch from d4b5ebe to 4d55269 Compare April 5, 2019 01:50
@ttung ttung merged commit 16bb36e into master Apr 5, 2019
@ttung ttung deleted the tonytung-registration-test branch April 5, 2019 01:51
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
0