DeepRegNet / DeepReg

Medical image registration using deep learning
Apache License 2.0
564 stars 76 forks source link

Issue #632: rename neg_weight to background_weight #699

Closed mathpluscode closed 3 years ago

mathpluscode commented 3 years ago

Description

Fixes #632

Type of change

What types of changes does your code introduce to DeepReg?

Please check the boxes that apply after submitting the pull request.

Checklist

Please check the boxes that apply after submitting the pull request.

If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

codecov[bot] commented 3 years ago

Codecov Report

Merging #699 (c544ad6) into main (6a9a3ac) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #699   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           38        38           
  Lines         2423      2426    +3     
=========================================
+ Hits          2423      2426    +3     
Impacted Files Coverage Δ
deepreg/config/v011.py 100.00% <100.00%> (ø)
deepreg/loss/label.py 100.00% <100.00%> (ø)

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 6a9a3ac...c544ad6. Read the comment docs.

mathpluscode commented 3 years ago

An arg renaming neg_weight to background_weight, backward compatibility is added with unit tests.

@YipengHu @kate-sann5100 @NMontanaBrown