Skip to content

Commit

Permalink
Fixed bug in CLI mode where experiments where not being read properly
Browse files Browse the repository at this point in the history
  • Loading branch information
llegregam committed Mar 11, 2024
1 parent 0c1958d commit 0a02a88
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions physiofit/ui/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ def process(args):
# If configuration file is present we launch the optimization
experiments = list(data["experiments"].unique())
data = data.set_index("experiments")
for exp in experiments:
logger.info(f"Running optimization for {exp}")
run_data = data.loc[exp, :].sort_values("time").copy()
run(run_data, args, logger, exp)
run(data, args, logger, experiments)
logger.info("Done!")
sys.exit()
Expand Down

0 comments on commit 0a02a88

Please sign in to comment.