Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrandje committed Sep 24, 2024
1 parent bb86bb0 commit fcd1960
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cartiflette/pipeline/prepare_geodatasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@ def create_one_year_geodataset_batch(
concat, fs=fs, **input_geodatasets["COMMUNE"].config
)
input_geodatasets["COMMUNE"] = full_cities
except (AttributeError, KeyError):
# input_geodatasets["IRIS"] is None
except (AttributeError, KeyError, IndexError):
# AttributeError : input_geodatasets["IRIS"] is None
# IndexError : INSEE_COM field was not found in the dataset
pass

with (
Expand Down

0 comments on commit fcd1960

Please sign in to comment.