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

Hm/fake labels #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Hm/fake labels #2

wants to merge 5 commits into from

Conversation

cakester
Copy link

Checklist

GitHub

  • I've given this PR a concise, self-descriptive, and meaningful title
  • I've linked relevant issues in the PR body
  • I've applied the relevant labels to this PR
  • I've assigned a reviewer

PR contents

Description

Linked issues

ivadomed#392

@cakester cakester requested a review from dyt811 March 25, 2021 17:17
label_path = os.path.join(__data_testing_dir__, 'derivatives', 'labels')
source_path = os.path.join(__data_testing_dir__, subdir[0], 'anat', "sub-unf01_T1w.nii.gz")
img = nib.load(source_path)
cropped_img = img.slicer[50:-50, 50:-50]
Copy link
Author

Choose a reason for hiding this comment

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

cropping so we get a smaller image for subsequent filtering

@coveralls
Copy link

coveralls commented Mar 25, 2021

Pull Request Test Coverage Report for Build 687435960

  • 9 of 24 (37.5%) changed or added relevant lines in 4 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.008%) to 75.623%

Changes Missing Coverage Covered Lines Changed/Added Lines %
testing/functional_tests/t_utils.py 3 18 16.67%
Files with Coverage Reduction New Missed Lines %
ivadomed/preprocessing.py 1 88.89%
Totals Coverage Status
Change from base Build 686790450: -0.008%
Covered Lines: 5463
Relevant Lines: 7224

💛 - Coveralls

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.

2 participants