From 528c67344ed7f047fd361568c8b5f13bff4a50cb Mon Sep 17 00:00:00 2001 From: jomasator2 Date: Tue, 9 Apr 2024 10:35:32 +0200 Subject: [PATCH] Fix acquisition time format in LightProcedure class --- xnat2mids/procedures/light_procedures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xnat2mids/procedures/light_procedures.py b/xnat2mids/procedures/light_procedures.py index e12b33b..57f6550 100644 --- a/xnat2mids/procedures/light_procedures.py +++ b/xnat2mids/procedures/light_procedures.py @@ -24,7 +24,7 @@ def control_image(self, folder_conversion, mids_session_path, dict_json, session value.append({ "run":png_files, "series_number": dict_json.get("SeriesNumber"), - "adquisition_time":datetime.fromisoformat(acquisition_date_time), + "adquisition_time":acquisition_date_time, "folder_mids": mids_session_path}) self.run_dict[key]=value