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
6f21dbfd
Commit
6f21dbfd
authored
Mar 11, 2019
by
Dumoulin Nicolas
Browse files
fix for python3
parent
d1b41d62
Changes
1
Hide whitespace changes
Inline
Side-by-side
scenariosAleatoires/MCMC_class.py
View file @
6f21dbfd
...
...
@@ -311,7 +311,7 @@ class Scenario :
with
gzip
.
GzipFile
(
'./initial_scenario_indices.gz'
,
'w'
)
as
fid_gz
:
json_str
=
json
.
dumps
(
dict_indices
,
ensure_ascii
=
False
)
fid_gz
.
write
(
json_str
)
fid_gz
.
write
(
json_str
.
encode
(
'utf-8'
)
)
'''
These functions returns values of indices of this scenario
...
...
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