From 579f56bb543a0f6362fae2e66439d184f9ca2227 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Sun, 9 Dec 2018 19:15:58 +0100 Subject: [PATCH] obi align (pouic): fixed bug with the saved config when aligning 2 different views --- python/obitools3/commands/pouic.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/obitools3/commands/pouic.pyx b/python/obitools3/commands/pouic.pyx index 2027390..2f5eb6a 100644 --- a/python/obitools3/commands/pouic.pyx +++ b/python/obitools3/commands/pouic.pyx @@ -220,10 +220,10 @@ def run(config): command_line = " ".join(sys.argv[1:]) i_dms_list = [i_dms_name] - if i_dms_name_2 and i_dms_name != i_dms_name_2: + if i_dms_name_2: i_dms_list.append(i_dms_name_2) i_view_list = [i_view_name] - if original_i_view_name_2 and i_view_name != original_i_view_name_2: + if original_i_view_name_2: i_view_list.append(original_i_view_name_2) comments = View.print_config(config, "pouic", command_line, input_dms_name=i_dms_list, input_view_name=i_view_list)