Skip to content

Commit

Permalink
warning issue when time information is missing in DICOM
Browse files Browse the repository at this point in the history
  • Loading branch information
pjmark committed May 3, 2024
1 parent eb5a9cc commit 2640fce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions amypet/preproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ def explore_indicom(input_fldr, Cnt, tracer=None, ur_win_def=None, outpath=None,

# if PET frame timings not found, skip
if not t_frms:
log.warning(f'Missing time information from DICOM files (e.g., frame duration or acquisition time) in series {k}')

Check failure on line 389 in amypet/preproc.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] amypet/preproc.py#L389

E501 line too long (126 > 99 characters)
Raw output
amypet/preproc.py:389:100: E501 line too long (126 > 99 characters)
continue

t_starts = [t[0] for t in t_frms]
Expand Down

0 comments on commit 2640fce

Please sign in to comment.