Commit b49cceb9 authored by chicm-ms's avatar chicm-ms Committed by fishyds
Browse files

Fix multiphase error message in nnimanager.log (#445)

parent 311d3da6
......@@ -219,7 +219,12 @@ class NNIDataStore implements DataStore {
private async isMultiPhase(): Promise<boolean> {
if (this.multiPhase === undefined) {
this.multiPhase = (await this.getExperimentProfile(getExperimentId())).params.multiPhase;
const expProfile: ExperimentProfile = await this.getExperimentProfile(getExperimentId());
if (expProfile !== undefined) {
this.multiPhase = expProfile.params.multiPhase;
} else {
return false;
}
}
if (this.multiPhase !== undefined) {
......
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