Skip to content

Commit 41859c5

Browse files
committed
Added logic to regression.py such that the callee will only have to include regression.py, and regression.py solely calls profiler.py to avoid class collissions.
1 parent 0b0e8a2 commit 41859c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

profiler/regression.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,4 +584,7 @@ def add_exp(exps:list, name, cmd, exp_fldr, env=None, cwd=None, log_fn=None, bin
584584

585585
def add_cexp(exps:list, name, cmd, exp_fldr, env=None, cwd=None, log_fn=None, bin_fn=None, file_comparison:tuple=None) -> list:
586586
exps.append(profiler.Experiment(name=name, command=cmd, experiment_folder=exp_fldr, environment_variables=env, cwd=cwd, geodms_logfile=log_fn, binary_experiment_file=bin_fn, file_comparison=file_comparison))
587-
return exps
587+
return exps
588+
589+
def run_experiments(exps):
590+
profiler.RunExperiments(exps)

0 commit comments

Comments
 (0)