Closed amoodie closed 3 years ago
Merging #192 (67f16b9) into develop (20e7a25) will increase coverage by
0.07%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## develop #192 +/- ##
===========================================
+ Coverage 78.20% 78.28% +0.07%
===========================================
Files 12 12
Lines 2473 2482 +9
===========================================
+ Hits 1934 1943 +9
Misses 539 539
Impacted Files | Coverage Δ | |
---|---|---|
pyDeltaRCM/init_tools.py | 97.99% <100.00%> (+0.04%) |
:arrow_up: |
pyDeltaRCM/model.py | 89.81% <100.00%> (+0.03%) |
: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 20e7a25...67f16b9. Read the comment docs.
Any way to not need to load
platform
to get the info? Need to check if available insys
.
I found the following in sys
:
>>> sys.platform
'linux'
>>> sys.version
'3.8.2 | packaged by conda-forge | (default, Apr 24 2020, 08:20:52) \n[GCC 7.3.0]'
>>> sys.version_info
sys.version_info(major=3, minor=8, micro=2, releaselevel='final', serial=0)
Decided to go with the extra import, since platform
provides a nice, information-dense string. E.g., Platform: Linux-5.8.0-48-generic-x86_64-with-glibc2.10
.
Add some info to the log file
self.__pyDeltaRCM_version__
to the model object.sys.version
)platform.platform()
)self.__class__.__name__
)Here is an example of a new log:
closes #189