Closed miykael closed 5 years ago
Merging #88 into master will increase coverage by
0.06%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #88 +/- ##
==========================================
+ Coverage 87.87% 87.93% +0.06%
==========================================
Files 6 6
Lines 396 398 +2
==========================================
+ Hits 348 350 +2
Misses 48 48
Impacted Files | Coverage Δ | |
---|---|---|
atlasreader/__init__.py | 100% <100%> (ø) |
:arrow_up: |
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 3f95b64...f2796ec. Read the comment docs.
nilearn==0.5.0
currently leads to the following ImportWarnings
when imported:
/home/line/miniconda3/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/home/line/miniconda3/lib/python3.6/site-packages/skimage/__init__.py:80: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/line/miniconda3/lib/python3.6/site-packages/pytest.py' mode='r' encoding='utf-8'>
imp.find_module('pytest')
/home/line/miniconda3/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/home/line/miniconda3/lib/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
This doesn't happen with version 0.5.0a
. That's why https://github.com/miykael/atlasreader/pull/88/commits/f2796ec4855a6cd42a8b48181182face79cef36b fixes required version to this value. This restriction can hopefully be removed in the near future.
Will merge this, as al tests pass.
This PR continues the work under https://github.com/miykael/atlasreader/pull/71, by adding the license text to the
__init__.py
file. But in contrast to https://github.com/miykael/atlasreader/pull/71, this PR will not create an.imported
file, but print the license text the first time the module is loaded within an environment.