Heudiconv DICOM to BIDS Heuristic File Question

Hi all,

I have a question about the options I can use in my heuristic file for heudiconv conversion. Previously when doing dicom to bids conversion I have used the s.image_type in my heuristic file. I am now running into an issue where to differentiate the different scan types the information is not stored in ImageType but in ImageTypeText. See below:

||ImageType: [ORIGINAL, PRIMARY, M, NONE],|
||ImageTypeText: [ORIGINAL, PRIMARY, M, NORM, DIS2D, SH, FIL],|

I only need to process files that have the NORM tag (which in this case is under ImageTypeText).

Unfortunately I can’t use series description or protocol name to differentiate because they are both the same.

How do I add ImageTypeText to my heuristic file in a line with something like this?

if ('T2w_SPC’in s.series_description) and (‘NORM’ in s.image_type):
info[t2w_right].append(s.series_id)

How to revise the above so it captures what is in ImageTypeText?

Thanks.

–Subbi M.