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
OpenDAS
nni
Commits
e259d109
Commit
e259d109
authored
Oct 31, 2019
by
Shinai Yang
Browse files
fix id error
parent
d7a62f66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/nni_cmd/config_utils.py
tools/nni_cmd/config_utils.py
+1
-1
No files found.
tools/nni_cmd/config_utils.py
View file @
e259d109
...
@@ -85,7 +85,7 @@ class Experiments:
...
@@ -85,7 +85,7 @@ class Experiments:
def
update_experiment
(
self
,
expId
,
key
,
value
):
def
update_experiment
(
self
,
expId
,
key
,
value
):
'''Update experiment'''
'''Update experiment'''
if
i
d
not
in
self
.
experiments
:
if
expI
d
not
in
self
.
experiments
:
return
False
return
False
self
.
experiments
[
expId
][
key
]
=
value
self
.
experiments
[
expId
][
key
]
=
value
self
.
write_file
()
self
.
write_file
()
...
...
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