GSTT-CSC / MLOps

Framework for building ML apps
GNU General Public License v3.0
9 stars 5 forks source link

Allow options for image series in LoadImageXNATd.py #162

Closed mikewoodward94 closed 3 months ago

mikewoodward94 commented 4 months ago

Allows options for functionality when encountering image series when loading from xnat:

Default = "error" -> raises error when encountering an image series of length greater than one

Options:

"keepfirst" -> keeps the first image in the series "keeplast" -> keeps the last image in the series

github-actions[bot] commented 4 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
mlops
   Experiment.py1503080%44–49, 70, 77–78, 95, 97, 102, 172–186, 205, 207–208, 256–257, 265–268, 272–273, 280–281
   ProjectFile.py23196%41
   cli.py541769%19–22, 36, 58–64, 84–86, 94–97, 105–106, 111
mlops/data/tools
   tools.py1059014%18–26, 29, 32–67, 70–116, 129–202
mlops/data/transforms
   LoadImageXNATd.py604722%28–34, 56–123
mlops/release
   Release.py33779%24, 28, 33–38
mlops/release/destinations
   ReleaseDestination.py9189%18
   SharepointDestination.py6267%12–13
   ZenodoDestination.py331942%21–25, 29–35, 43–60
mlops/release/sources
   MLFlowSource.py13654%13–14, 21–27
   ReleaseSource.py14286%14, 23
mlops/utils
   Config.py17170%1–24
TOTAL55523957% 

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