Commit b73f7cdc authored by Dumoulin Nicolas's avatar Dumoulin Nicolas
Browse files

bugfix (syntax) in social

parent 2925c8ff
......@@ -42,7 +42,7 @@ class Social(Indicator):
self.load_patches_transition_cost(costs_filename)
try:
self.patches_transition_cost.replace({'initialcult':patutils.code_cultgeopat,'cultgeopat':patutils.code_cultgeopat},inplace=True)
except e:
except Exception:
pass
self.patches_transition_cost.set_index('ID_PARCEL', inplace=True)
self.patches_transition_cost.index = self.patches_transition_cost.index.astype('int')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment