Unverified Commit f9ee589c authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

Merge pull request #222 from microsoft/master

merge master
parents 36e6e350 4f3ee9cb
......@@ -41,6 +41,7 @@ class Experiment {
if (!this.profileField) {
throw Error('Experiment profile not initialized');
}
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
return this.profileField!;
}
......@@ -73,6 +74,7 @@ class Experiment {
if (!this.statusField) {
throw Error('Experiment status not initialized');
}
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
return this.statusField!.status;
}
......@@ -80,6 +82,7 @@ class Experiment {
if (!this.statusField) {
throw Error('Experiment status not initialized');
}
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
return this.statusField!.errors[0] || '';
}
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -223,7 +223,7 @@ if __name__ == '__main__':
exit(1)
check_version(args)
try:
if NNI_PLATFORM == 'pai' and is_multi_phase():
if NNI_PLATFORM == 'paiYarn' and is_multi_phase():
fetch_parameter_file(args)
main_loop(args)
except SystemExit as se:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment