From edab6ef8c07a7a768103184fca06999fd4fbfae2 Mon Sep 17 00:00:00 2001 From: BanananaFish Date: Sat, 13 Apr 2024 15:17:48 +0800 Subject: [PATCH] [dev] sample and save exported data to npz, better progress --- src/comsol/cmdline.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/comsol/cmdline.py b/src/comsol/cmdline.py index 0a552ea..64284de 100644 --- a/src/comsol/cmdline.py +++ b/src/comsol/cmdline.py @@ -32,9 +32,8 @@ def run(model, config, dump, raw, avg, sample): with Progress(console=console) as progress: study_tast = progress.add_task("[cyan]Study", total=len(cfg.tasks)) for task in cfg.tasks: - # cli.update(**task) - # cli.study() - cli.study_count += 1 + cli.update(**task) + cli.study() if raw or avg or sample: if raw: cli.save_raw_data()