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

296 hazen incompatible with python 311 #297

Closed laurencejackson closed 1 year ago

laurencejackson commented 1 year ago

Updates the packaging info to use pyproject.toml and setup.cfg which is the method preferred by setuptools.

Restricts Python version to <3.11

github-actions[bot] commented 1 year ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
hazenlib
   HazenTask.py26485%18, 32–34
   __init__.py1473874%138, 142, 152, 157, 194, 201–206, 217, 220–227, 247–249, 267–269, 288–290, 299, 304, 310, 361, 384–386, 394–395, 399
   exceptions.py21481%17–21
   relaxometry.py3179072%238–256, 631, 690–692, 746, 794–816, 834–849, 1174–1177, 1186–1189, 1201–1214, 1217–1222, 1233–1263
   shapes.py20955%13, 16, 24–29, 32
   snr_map.py111595%408, 413–415, 444
   tools.py84890%43–50, 92, 101, 117
hazenlib/tasks
   acr_ghosting.py1164264%33–53, 91–93, 123–125, 161–194
   acr_uniformity.py893264%34–54, 121–138
   ghosting.py1505166%18–32, 47, 109–110, 114, 124–125, 151–153, 170–172, 218–256
   relaxometry.py7271%10–11
   slice_position.py1182281%31, 40–41, 103–104, 130, 210, 217–234
   slice_width.py3595286%34–37, 107, 166–186, 451, 456–457, 463, 468, 530–531, 780–821
   snr.py1636660%62–67, 161–179, 194–203, 221–231, 258–268, 273–283, 314–327, 332–340, 369–382
   snr_map.py770%1–11
   spatial_resolution.py2474482%36–39, 62, 147, 206, 332–368
   uniformity.py781976%42–45, 91–92, 99, 133–147
TOTAL207649576% 

Tests Skipped Failures Errors Time
180 0 :zzz: 0 :x: 0 :fire: 2m 5s :stopwatch:
laurencejackson commented 1 year ago

Looks great 🔥 thanks for fixing this, @laurencejackson! Before we merge, can you please also update the version in CITATION.cff since this doesn't inherit from _version.py?

Yes! fixed now