Skip to content

Commit

Permalink
minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jun 29, 2023
1 parent 46de10e commit 6f7b41d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions niftypet/nimpa/prc/imio.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,9 @@ def dcmsort(folder, copy_series=False, Cnt=None, outpath=None, grouping='t+d'):
elif [0x018, 0x1072] in trinf:
val = trinf[0x018, 0x1072].value
if '.' in val:
tinjct = datetime.datetime.strptime(std_date+val, '%Y%m%d%H%M%S.%f')
tinjct = datetime.datetime.strptime(std_date + val, '%Y%m%d%H%M%S.%f')
else:
tinjct = datetime.datetime.strptime(std_date+val, '%Y%m%d%H%M%S')
tinjct = datetime.datetime.strptime(std_date + val, '%Y%m%d%H%M%S')

if [0x018, 0x031] in trinf:
trcr = trinf[0x018, 0x031].value
Expand Down

0 comments on commit 6f7b41d

Please sign in to comment.