Commit 7b578c2b authored by Yan Ni's avatar Yan Ni Committed by chicm-ms
Browse files

Fix bug of nnictl about stopping experiment and update statsmodels version to...

Fix bug of nnictl about stopping experiment and update statsmodels version to v0.9.1.1 (#1297) (#1315)
parent 4592ba41
ConfigSpace==0.4.7 ConfigSpace==0.4.7
statsmodels==0.9.0 statsmodels==0.10.0
\ No newline at end of file \ No newline at end of file
...@@ -151,7 +151,7 @@ def parse_ids(args): ...@@ -151,7 +151,7 @@ def parse_ids(args):
exit(1) exit(1)
else: else:
result_list = running_experiment_list result_list = running_experiment_list
elif args.all: elif args.id == 'all':
result_list = running_experiment_list result_list = running_experiment_list
elif args.id.endswith('*'): elif args.id.endswith('*'):
for id in running_experiment_list: for id in running_experiment_list:
...@@ -166,7 +166,7 @@ def parse_ids(args): ...@@ -166,7 +166,7 @@ def parse_ids(args):
if len(result_list) > 1: if len(result_list) > 1:
print_error(args.id + ' is ambiguous, please choose ' + ' '.join(result_list) ) print_error(args.id + ' is ambiguous, please choose ' + ' '.join(result_list) )
return None return None
if not result_list and args.id: if not result_list and args.id and args.id != 'all':
print_error('There are no experiments matched, please set correct experiment id...') print_error('There are no experiments matched, please set correct experiment id...')
elif not result_list: elif not result_list:
print_error('There is no experiment running...') print_error('There is no experiment running...')
......
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