Skip to content

Commit

Permalink
Remove unused chunks method
Browse files Browse the repository at this point in the history
refers to 7dd46b4
refers to #133
  • Loading branch information
TheGreatRefrigerator committed Jun 8, 2021
1 parent c904fa0 commit 717895d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ORStools/proc/matrix_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,3 @@ def get_fields(source_type, destination_type):
fields.append(QgsField("DIST_KM", QVariant.Double))

return fields

@staticmethod
def chunks(l, n):
"""Yield successive n-sized chunks from l."""
for i in range(0, len(l), n):
yield l[i:i + n]

0 comments on commit 717895d

Please sign in to comment.