From ed42249945dc83ba58f62d7dceeb46ae921c6760 Mon Sep 17 00:00:00 2001 From: Ashley Stewart Date: Thu, 10 Oct 2024 14:08:39 -0500 Subject: [PATCH] Remove EchoTime multiplication by 1000 for JSON data - unit conversion is already done by dcm2niix --- handler/ezBIDS_core/ezBIDS_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/ezBIDS_core/ezBIDS_core.py b/handler/ezBIDS_core/ezBIDS_core.py index d3576bbf..e8fc69b4 100755 --- a/handler/ezBIDS_core/ezBIDS_core.py +++ b/handler/ezBIDS_core/ezBIDS_core.py @@ -1101,7 +1101,7 @@ def generate_dataset_list(uploaded_files_list, exclude_data): # Find EchoTime if "EchoTime" in json_data: - echo_time = json_data["EchoTime"] * 1000 + echo_time = json_data["EchoTime"] else: echo_time = 0