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

Replaces prints with logging module. #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Replaces prints with logging module. #83

wants to merge 1 commit into from

Conversation

rutgerfick
Copy link
Collaborator

In preparation of pypi we change all prints to appropriate logging messages.

closes #82

@coveralls
Copy link

coveralls commented Oct 31, 2019

Pull Request Test Coverage Report for Build 593

  • 43 of 60 (71.67%) changed or added relevant lines in 6 files are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.04%) to 82.559%

Changes Missing Coverage Covered Lines Changed/Added Lines %
dmipy/data/saved_data.py 3 4 75.0%
dmipy/optimizers_fod/csd_cvxpy.py 1 3 33.33%
dmipy/tissue_response/white_matter_response.py 6 9 66.67%
dmipy/distributions/distribute_models.py 1 5 20.0%
dmipy/core/modeling_framework.py 29 36 80.56%
Files with Coverage Reduction New Missed Lines %
dmipy/tissue_response/white_matter_response.py 1 76.6%
dmipy/distributions/distribute_models.py 2 72.12%
Totals Coverage Status
Change from base Build 591: -0.04%
Covered Lines: 14122
Relevant Lines: 16650

💛 - Coveralls

@codecov-io
Copy link

codecov-io commented Oct 31, 2019

Codecov Report

Merging #83 into master will increase coverage by 0.04%.
The diff coverage is 71.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
+ Coverage    81.7%   81.74%   +0.04%     
==========================================
  Files          64       64              
  Lines        5543     5550       +7     
  Branches      655      655              
==========================================
+ Hits         4529     4537       +8     
  Misses        840      840              
+ Partials      174      173       -1
Impacted Files Coverage Δ
dmipy/optimizers/brute2fine.py 83.6% <100%> (+0.09%) ⬆️
dmipy/distributions/distribute_models.py 69.08% <20%> (-0.27%) ⬇️
dmipy/optimizers_fod/csd_cvxpy.py 89.13% <33.33%> (+0.11%) ⬆️
dmipy/tissue_response/white_matter_response.py 73.68% <66.66%> (+1.53%) ⬆️
dmipy/data/saved_data.py 68.81% <75%> (+0.16%) ⬆️
dmipy/core/modeling_framework.py 71.16% <80.55%> (+0.01%) ⬆️
dmipy/core/acquisition_scheme.py 78.9% <0%> (+0.47%) ⬆️

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 0d4775e...643ab1c. Read the comment docs.

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.

Pip install prep: prints to logging
3 participants