Skip to content

Commit 49e871e

Browse files
committed
feat: remove advanced parameters from export proc
1 parent 5bfebdc commit 49e871e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ORStools/proc/base_processing_algorithm.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,19 @@ def initAlgorithm(self, configuration: Dict) -> None:
227227
Combines default and algorithm parameters and adds them in order to the
228228
algorithm dialog window.
229229
"""
230-
parameters = (
230+
if self.ALGO_NAME not in ["export_network_from_map"]:
231+
parameters = (
231232
[self.provider_parameter(), self.profile_parameter()]
232233
+ self.PARAMETERS
233234
+ self.option_parameters()
234235
+ [self.output_parameter()]
235236
)
237+
else:
238+
parameters = (
239+
[self.provider_parameter(), self.profile_parameter()]
240+
+ self.PARAMETERS
241+
+ [self.output_parameter()]
242+
)
236243
for param in parameters:
237244
if param.name() in ADVANCED_PARAMETERS:
238245
if self.GROUP == "Matrix":

0 commit comments

Comments
 (0)