GSTT-CSC / hazen

Quality assurance framework for Magnetic Resonance Imaging
https://github.com/GSTT-CSC/hazen
Apache License 2.0
22 stars 12 forks source link

added tests to all functions in ghosting task #283

Closed Lucrezia-Cester closed 1 year ago

Lucrezia-Cester commented 1 year ago

Ghosting task was missing a test for one function. I have added it.

github-actions[bot] commented 1 year ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
hazenlib
   HazenTask.py24388%29–31
   __init__.py1473874%135, 139, 149, 154, 191, 198–203, 214, 217–224, 244–246, 264–266, 285–287, 296, 301, 307, 358, 378–380, 388–389, 393
   relaxometry.py3179072%238–256, 630, 689–691, 745, 793–815, 833–848, 1173–1176, 1185–1188, 1200–1213, 1216–1221, 1233–1263
   shapes.py20955%13, 16, 24–29, 32
   snr_map.py108595%403, 408–410, 439
   tools.py82693%43–50, 89
hazenlib/tasks
   ghosting.py1505166%18–32, 47, 109–110, 114, 124–125, 150–152, 169–171, 217–255
   relaxometry.py7271%10–11
   slice_position.py1172182%31, 40–41, 103–104, 130, 210, 217–233
   slice_width.py3595286%34–37, 107, 166–186, 451, 456–457, 463, 468, 530–531, 780–821
   snr.py1634672%62–67, 221–231, 273–277, 314–327, 332–340, 369–382
   snr_map.py770%1–11
   spatial_resolution.py2959069%36–39, 63–121, 134, 219, 255–262, 287, 413–449
   task_acr_ghosting.py1164264%33–53, 91–93, 123–125, 161–194
   task_acr_uniformity.py893264%34–54, 121–138
   uniformity.py781976%42–45, 91–92, 99, 133–147
TOTAL211651376% 

Tests Skipped Failures Errors Time
183 0 :zzz: 0 :x: 0 :fire: 2m 3s :stopwatch: