From 49e871ea0ee217d1a0767d3f6fc79e432ad5f7c9 Mon Sep 17 00:00:00 2001 From: Till Frankenbach Date: Sat, 6 Jul 2024 15:35:12 -0400 Subject: [PATCH] feat: remove advanced parameters from export proc --- ORStools/proc/base_processing_algorithm.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ORStools/proc/base_processing_algorithm.py b/ORStools/proc/base_processing_algorithm.py index 6245b328..29cc301d 100644 --- a/ORStools/proc/base_processing_algorithm.py +++ b/ORStools/proc/base_processing_algorithm.py @@ -227,12 +227,19 @@ def initAlgorithm(self, configuration: Dict) -> None: Combines default and algorithm parameters and adds them in order to the algorithm dialog window. """ - parameters = ( + if self.ALGO_NAME not in ["export_network_from_map"]: + parameters = ( [self.provider_parameter(), self.profile_parameter()] + self.PARAMETERS + self.option_parameters() + [self.output_parameter()] ) + else: + parameters = ( + [self.provider_parameter(), self.profile_parameter()] + + self.PARAMETERS + + [self.output_parameter()] + ) for param in parameters: if param.name() in ADVANCED_PARAMETERS: if self.GROUP == "Matrix":