Skip to content

Conversation

@shaneahmed
Copy link
Member

  • Use logger Instead Of warnings for wsi_registration.py
  • Refactor duplicate code fragments

- Use `logger` Instead Of `warnings` for `wsi_registration.py`

Signed-off-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
- Refactor duplicate code fragments

Signed-off-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
@shaneahmed shaneahmed requested a review from ruqayya April 10, 2023 10:42
@shaneahmed shaneahmed added the enhancement New feature or request label Apr 10, 2023
@shaneahmed shaneahmed added this to the Release v1.4.0 milestone Apr 10, 2023
@shaneahmed shaneahmed self-assigned this Apr 10, 2023
- Fix failing test

Signed-off-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #587 (661af62) into develop (df7655d) will increase coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head 661af62 differs from pull request most recent head b3ad233. Consider uploading reports for the commit b3ad233 to get more accurate results

@@             Coverage Diff             @@
##           develop     #587      +/-   ##
===========================================
+ Coverage    99.63%   99.66%   +0.03%     
===========================================
  Files           62       62              
  Lines         6609     6611       +2     
  Branches      1073     1073              
===========================================
+ Hits          6585     6589       +4     
+ Misses          15       14       -1     
+ Partials         9        8       -1     
Impacted Files Coverage Δ
tiatoolbox/tools/registration/wsi_registration.py 100.00% <100.00%> (+0.49%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

- Add test to improve coverage

Signed-off-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
@shaneahmed shaneahmed merged commit 1c42e39 into develop May 5, 2023
@shaneahmed shaneahmed deleted the dev-use-logger-for-wsi_registration branch May 5, 2023 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants