From 1b8f7a4c62ba942397c73a356e00f9f7cc3505f7 Mon Sep 17 00:00:00 2001 From: eveleighoj <35256612+eveleighoj@users.noreply.github.com> Date: Wed, 15 Jan 2025 19:12:49 +0000 Subject: [PATCH] correct max in for loop --- digital_land/package/dataset_parquet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/digital_land/package/dataset_parquet.py b/digital_land/package/dataset_parquet.py index ff3a8b5b..4b2e53e2 100644 --- a/digital_land/package/dataset_parquet.py +++ b/digital_land/package/dataset_parquet.py @@ -406,7 +406,7 @@ def load_entities(self, transformed_parquet_dir, resource_path, organisation_pat / f"dataset={self.dataset}" / f"entity_{file_count}.parquet" ) - entity_range = [_, entity_limit] + entity_range = [_, _ + entity_limit] logger.info( f"loading entities from {entity_range[0]} to {entity_range[1]}" )