univieCUBE / deepnog

Protein orthologous group assignment with deep learning
BSD 3-Clause "New" or "Revised" License
26 stars 8 forks source link

TST iterable training #45

Closed VarIr closed 3 years ago

VarIr commented 3 years ago

Training with ProteinIterableDataset(shuffle=False) was broken due to incorrect data usage. This adds tests for the fix provided in #43.

codecov[bot] commented 3 years ago

Codecov Report

Merging #45 (f98e4e6) into master (e6a8712) will increase coverage by 0.41%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
+ Coverage   96.77%   97.18%   +0.41%     
==========================================
  Files          36       36              
  Lines        2045     2059      +14     
==========================================
+ Hits         1979     2001      +22     
+ Misses         66       58       -8     
Impacted Files Coverage Δ
deepnog/learning/tests/test_training.py 100.00% <100.00%> (ø)
deepnog/learning/training.py 88.67% <100.00%> (+3.30%) :arrow_up:
deepnog/utils/tests/test_utils.py 96.66% <0.00%> (-0.84%) :arrow_down:
deepnog/data/dataset.py 98.68% <0.00%> (+0.87%) :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 6779c60...f98e4e6. Read the comment docs.