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

Apply Python script formatting #401

Closed sophie22 closed 10 months ago

github-actions[bot] commented 10 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
hazenlib
   ACRObject.py1071190%87, 90–92, 97–100, 138, 190–193
   HazenTask.py28389%43–47
   __init__.py561573%173, 205–214, 216–225, 227–229, 246–250, 254
   exceptions.py21576%19–23, 42
   utils.py1894377%72, 76, 86, 91, 130, 137–150, 161, 168–175, 195–197, 215–219, 238–242, 251, 256, 267, 319, 322, 330–335, 338, 385, 394, 409
hazenlib/tasks
   acr_geometric_accuracy.py1196248%42–89, 99–145, 158–227
   acr_ghosting.py1074261%34–50, 85–87, 139–141, 191–273
   acr_slice_position.py1364865%47–70, 253–320
   acr_slice_thickness.py1366056%35–54, 190–274
   acr_snr.py1345857%42, 47–98, 108, 193–208, 252–270, 318–343
   acr_spatial_resolution.py2066867%58–89, 148, 205, 222–233, 331–410
   acr_uniformity.py813260%36–53, 119–171
   ghosting.py1515166%18–37, 52, 135–136, 143, 160–161, 197–201, 216–220, 273–314
   relaxometry.py2908969%210–211, 213, 226–231, 238–246, 277–326, 375, 409–431, 609, 655–659, 726, 811–833, 851–866
   slice_position.py1244068%25, 30–58, 110–111, 138, 234, 244–267
   slice_width.py3495285%34–38, 42, 108, 182–207, 508, 513–514, 520, 525, 597–598, 978–1042
   snr.py1757159%40–43, 70, 87–97, 199–219, 234–244, 273–288, 317–327, 332–348, 391–407, 412–420, 466–484
   snr_map.py107199%155
   spatial_resolution.py2484482%40–44, 48, 76, 162, 230, 371–414
   uniformity.py791976%48–52, 56, 98–99, 106, 146–176
TOTAL286881472% 

Tests Skipped Failures Errors Time
201 0 :zzz: 0 :x: 0 :fire: 2m 18s :stopwatch:
sophie22 commented 10 months ago

No content change, this PR is purely around the formatting of Python scripts within hazenlib and the unit tests. GitHub automated tests are passing both before and after reformatting the test scripts (having reformatting the task scripts).

Ready for review @tomaroberts