From 4a9e2c4bbd1f956a4c10c5230ab9046956aaabfd Mon Sep 17 00:00:00 2001 From: Baxter Rogers Date: Wed, 7 Aug 2024 16:10:01 -0500 Subject: [PATCH] forgot to commit --- src/update_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update_json.py b/src/update_json.py index 2479437..fbc47bf 100755 --- a/src/update_json.py +++ b/src/update_json.py @@ -23,7 +23,7 @@ # Verify that this is a Philips scan before applying the Philips- # specific fixes for TotalReadoutTime and PhaseEncodingDirection -if jobj['Manufacturer'] != 'Philips': +if not jobj['Manufacturer'].startswith('Philips'): raise Exception(f'Manufacturer is {jobj["Manufacturer"]} - expecting Philips') jobj['TotalReadoutTime'] = jobj['EstimatedTotalReadoutTime']