Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
geopat
geopat
Commits
b73f7cdc
Commit
b73f7cdc
authored
Jun 12, 2019
by
Dumoulin Nicolas
Browse files
bugfix (syntax) in social
parent
2925c8ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
scenariosAleatoires/social.py
View file @
b73f7cdc
...
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment