From 73f7ad0501b3b380b679abaa7ad69af55145f5c6 Mon Sep 17 00:00:00 2001 From: chill-bear <122758301+chill-bear@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:25:26 +0800 Subject: [PATCH] Update get_xy.py fix typo --- get_xy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_xy.py b/get_xy.py index e6074ec..8dc7604 100644 --- a/get_xy.py +++ b/get_xy.py @@ -216,5 +216,5 @@ def get_class_vote(pert_list, bottom_threshold, top_threshold): model_file_prefix = save_xy_path + target_cell_name + '_' + direction + '_' + str(percentile_down) + 'p' save_file = model_file_prefix + "_Y_class" print("saved", save_file) - npY = npY_class_up if direction == "up" else npY_class_down + npY = npY_class_up if direction == "Up" else npY_class_down np.savez(save_file, npY)