Skip to content

Commit

Permalink
style: run ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed May 24, 2024
1 parent 4ed220e commit 6922e74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ORStools/proc/directions_points_layers_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ def processAlgorithm(
csv_factor = self.parameterAsDouble(parameters, self.CSV_FACTOR, context)
csv_column = self.parameterAsString(parameters, self.CSV_COLUMN, context)
if csv_factor > 0:
options["profile_params"] = {"weightings": {"csv_factor": csv_factor, "csv_column": csv_column}}
options["profile_params"] = {
"weightings": {"csv_factor": csv_factor, "csv_column": csv_column}
}

extra_info = self.parameterAsEnums(parameters, self.EXTRA_INFO, context)
extra_info = [EXTRA_INFOS[i] for i in extra_info]
Expand Down

0 comments on commit 6922e74

Please sign in to comment.