Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Lukas Weber
load_leveller
Commits
974110e5
Commit
974110e5
authored
Aug 13, 2019
by
Lukas Weber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
load -> safe_load
parent
c94359b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/loadleveller/mcextract.py
python/loadleveller/mcextract.py
+1
-1
No files found.
python/loadleveller/mcextract.py
View file @
974110e5
...
...
@@ -16,7 +16,7 @@ class Observable:
class
MCArchive
:
def
__init__
(
self
,
filename
):
with
open
(
filename
,
'r'
)
as
f
:
doc
=
yaml
.
load
(
f
)
doc
=
yaml
.
safe_
load
(
f
)
param_names
=
set
(
sum
([
list
(
task
[
'parameters'
].
keys
())
for
task
in
doc
],
[]))
observable_names
=
set
(
sum
([
list
(
task
[
'results'
].
keys
())
for
task
in
doc
],
[]))
...
...
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