Skip to content

Commit

Permalink
feat: remove advanced parameters from export proc
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed Jul 6, 2024
1 parent 5bfebdc commit 49e871e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ORStools/proc/base_processing_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 49e871e

Please sign in to comment.