Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EnMAP
GFZ_Tools_EnMAP_BOX
EnPT
Commits
486a2a87
Commit
486a2a87
authored
Mar 25, 2020
by
Daniel Scheffler
Browse files
Fixed missing write mode.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
38772e09
Pipeline
#7860
passed with stages
in 60 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
enpt/execution/controller.py
View file @
486a2a87
...
...
@@ -169,7 +169,7 @@ class EnPT_Controller(object):
if
not
os
.
path
.
isdir
(
self
.
cfg
.
output_dir
):
raise
NotADirectoryError
(
self
.
cfg
.
output_dir
)
with
open
(
os
.
path
.
join
(
self
.
cfg
.
output_dir
,
'received_args_kwargs.pkl'
))
as
outF
:
with
open
(
os
.
path
.
join
(
self
.
cfg
.
output_dir
,
'received_args_kwargs.pkl'
)
,
'wb'
)
as
outF
:
pickle
.
dump
(
dict
(
json_config
=
self
.
cfg
.
json_config
,
...
...
Write
Preview
Supports
Markdown
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