diff --git a/dicom_repack.py b/dicom_repack.py index b12f48d..3fc123f 100644 --- a/dicom_repack.py +++ b/dicom_repack.py @@ -7,7 +7,8 @@ from chris_plugin import chris_plugin, PathMapper import pydicom as dicom import os -__version__ = '1.1.0' +from pflog import pflog +__version__ = '1.1.2' DISPLAY_TITLE = r""" _ _ _ _ @@ -44,6 +45,10 @@ min_cpu_limit='4000m', # millicores, e.g. "1000m" = 1 CPU core min_gpu_limit=0 # set min_gpu_limit=1 to enable GPU ) +@pflog.tel_logTime( + event = 'dicom_repack', + log = 'Repack slices of dicoms into one' + ) def main(options: Namespace, inputdir: Path, outputdir: Path): """ *ChRIS* plugins usually have two positional arguments: an **input directory** containing diff --git a/requirements.txt b/requirements.txt index b008020..c4ae618 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ chris_plugin==0.2.1 numpy pydicom +pflog==1.2.26 +pftel-client~=1.0.6 \ No newline at end of file