Closed ajlail98 closed 2 years ago
nf-core lint
overall result: Passed :white_check_mark: :warning:Posted for pipeline commit 8958dfc
+| ✅ 62 tests passed |+
#| ❔ 34 tests were ignored |#
!| ❗ 9 tests had warnings |!
Merging #258 (8958dfc) into dev (ad0364a) will decrease coverage by
0.02%
. The diff coverage is25.00%
.
@@ Coverage Diff @@
## dev #258 +/- ##
==========================================
- Coverage 27.61% 27.59% -0.03%
==========================================
Files 45 45
Lines 5334 5349 +15
==========================================
+ Hits 1473 1476 +3
- Misses 3861 3873 +12
Flag | Coverage Δ | |
---|---|---|
unittests | 27.59% <25.00%> (-0.03%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
autometa/config/databases.py | 0.00% <0.00%> (ø) |
|
autometa/common/utilities.py | 22.69% <40.00%> (+0.54%) |
:arrow_up: |
autometa/binning/recursive_dbscan.py | 84.80% <0.00%> (-1.68%) |
:arrow_down: |
autometa/taxonomy/lca.py | 8.79% <0.00%> (-0.06%) |
:arrow_down: |
autometa/validation/benchmark.py | 0.00% <0.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 ad0364a...8958dfc. Read the comment docs.
This addresses #257 by adding a function
ncbi_is_connected()
to the utilities. This function can be used in instances where Autometa is downloading from NCBI. I have changed references to the previous network checking function,internet_is_connected()
, within theconfig/databases.py
script.I have left
internet_is_connected()
in thecommon/utilities.py
script, since it is used in dataset downloading from google drive. It makes more sense to ping google in that case.I have tested the function by turning my internet connection on and off, but would welcome any input on creating more robust tests for this!
PR checklist