AstraZeneca / chemicalx

A PyTorch and TorchDrug based deep learning library for drug pair scoring. (KDD 2022)
https://chemicalx.readthedocs.io
Apache License 2.0
708 stars 87 forks source link

Fix unit tests for DDI and TwoSides #51

Closed benedekrozemberczki closed 2 years ago

benedekrozemberczki commented 2 years ago

Summary

Incorrect shapes

Changes

codecov-commenter commented 2 years ago

Codecov Report

Merging #51 (c358754) into main (b2e7532) will decrease coverage by 0.22%. The diff coverage is 93.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
- Coverage   98.68%   98.45%   -0.23%     
==========================================
  Files          27       27              
  Lines         682      712      +30     
==========================================
+ Hits          673      701      +28     
- Misses          9       11       +2     
Impacted Files Coverage Δ
chemicalx/data/datasetloader.py 94.73% <71.42%> (-3.31%) :arrow_down:
chemicalx/data/__init__.py 100.00% <100.00%> (ø)
tests/unit/test_dataset.py 100.00% <100.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 9f61eed...c358754. Read the comment docs.