Skip to content

Commit

Permalink
fix: fix rebasing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
koebi committed Dec 8, 2023
1 parent 00a7bd0 commit 1d2a5bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions ORStools/proc/isochrones_layer_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ def __init__(self):
minValue=0,
maxValue=100,
optional=True,
),
QgsProcessingParameterEnum(
name=self.LOCATION_TYPE,
description=self.tr("Location Type"),
options=LOCATION_TYPES,
defaultValue=LOCATION_TYPES[0]
defaultValue=LOCATION_TYPES[0],
),
]

Expand Down Expand Up @@ -158,7 +159,7 @@ def processAlgorithm(self, parameters, context, feedback):
"attributes": ["total_pop"],
"id": id_value,
"options": options,
"location_type": location_type
"location_type": location_type,
}

# only include smoothing if set
Expand Down
6 changes: 3 additions & 3 deletions ORStools/proc/isochrones_point_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def __init__(self):
name=self.LOCATION_TYPE,
description=self.tr("Location Type"),
options=LOCATION_TYPES,
defaultValue=LOCATION_TYPES[0]
)
defaultValue=LOCATION_TYPES[0],
),
]

# Save some important references
Expand Down Expand Up @@ -125,7 +125,7 @@ def processAlgorithm(self, parameters, context, feedback):
"attributes": ["total_pop"],
"id": None,
"options": options,
"location_type": location_type
"location_type": location_type,
}

if smoothing or smoothing == 0:
Expand Down

0 comments on commit 1d2a5bc

Please sign in to comment.