From 2acff0f175fd92a64c10016f3bc6032d9bc07c03 Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Wed, 26 Jan 2022 18:47:33 +0100 Subject: [PATCH] display sequence now presents the list of sequences in a sorted way --- Makefile | 2 +- src/ij-plugins/Ipr/Lipase/Display_Sequence.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 92ec37a..88acda0 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ TEMP_PATH:=$(shell echo ~/work/lipase/tmp) TESTS_OUTPUT_DATA_PATH:=$(TEMP_PATH) LIB_SRC_FILES=$(shell find ./src/lipase -name "*.py") PLUGINS_SRC_FILES=$(shell find ./src/ij-plugins -name "*.py") -LIPASE_VERSION=1.09 +LIPASE_VERSION=1.10 BUILD_ROOT_PATH:=$(TEMP_PATH)/build PACKAGE_FILE_PATH=$(BUILD_ROOT_PATH)/lipase-$(LIPASE_VERSION).zip diff --git a/src/ij-plugins/Ipr/Lipase/Display_Sequence.py b/src/ij-plugins/Ipr/Lipase/Display_Sequence.py index b947cea..c1c7e50 100644 --- a/src/ij-plugins/Ipr/Lipase/Display_Sequence.py +++ b/src/ij-plugins/Ipr/Lipase/Display_Sequence.py @@ -78,6 +78,7 @@ def ask_for_sequence(catalog): gd = GenericDialog(title) # gd.addDialogListener(MyListener()) sequence_ids = catalog.sequences.keys() + sequence_ids.sort() assert len(sequence_ids) > 0 default_sequence_id = sequence_ids[0] gd.addChoice('sequence', sequence_ids, default_sequence_id)