From 539222a7e9b01406b665ed4e74657c28b969f8f9 Mon Sep 17 00:00:00 2001 From: polarbean <harry.carey95@gmail.com> Date: Mon, 24 Mar 2025 17:02:14 +0100 Subject: [PATCH] gui update --- PyNutil/io/file_operations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PyNutil/io/file_operations.py b/PyNutil/io/file_operations.py index f482b07..b4be5b1 100644 --- a/PyNutil/io/file_operations.py +++ b/PyNutil/io/file_operations.py @@ -105,8 +105,8 @@ def save_analysis_output( "alignment_json": alignment_json, "colour": colour, "custom_region_path": custom_region_path, - } + } # Add atlas information to settings if atlas_name: settings_dict["atlas_name"] = atlas_name @@ -118,6 +118,7 @@ def save_analysis_output( settings_dict["settings_file"] = settings_file if custom_region_path: settings_dict["custom_region_path"] = custom_region_path + if # Write settings to file settings_file_path = os.path.join(output_folder, "pynutil_settings.json") with open(settings_file_path, "w") as f: -- GitLab