tomaroberts / nii2dcm

nii2dcm: NIfTI to DICOM creation with Python
Other
56 stars 14 forks source link

Adds unit tests and updates GHA #35

Closed tomaroberts closed 7 months ago

tomaroberts commented 7 months ago

Helps with spirit of #13

Adds unit tests, adds GHA to run on PR, adds coverage report and badges.

github-actions[bot] commented 7 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
nii2dcm
   __main__.py34340%5–68
   dcm.py93298%165–166
   dcm_writer.py33682%89–95
   nii.py35294%34–35
   run.py30293%57, 66
   utils.py770%8–36
nii2dcm/modules
   mr_image.py59297%39–40
TOTAL4315587% 

Tests Skipped Failures Errors Time
18 0 :zzz: 0 :x: 0 :fire: 4.920s :stopwatch:
tomaroberts commented 7 months ago

Working on unit-tests branch.

Reminder to self to change to main before PR merge.