Commit 426dddf8 authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

wip

parent 00ab6266
......@@ -730,16 +730,20 @@ def process_event(ievent, g_data_id):
# update_every=10,
# movie_filename='grond_opt_time_magnitude.mp4')
solver = config.solver_config.get_solver()
solver.solve(
problem,
rundir=rundir,
status=status,
# plot=splot,
xs_inject=xs_inject,
notifier=notifier)
harvest(rundir, problem, force=True)
try:
solver = config.solver_config.get_solver()
solver.solve(
problem,
rundir=rundir,
status=status,
# plot=splot,
xs_inject=xs_inject,
notifier=notifier)
harvest(rundir, problem, force=True)
except BadProblem as e:
logger.error(str(e))
tstop = time.time()
logger.info(
......
......@@ -254,7 +254,8 @@ class Problem(Object):
for p in target.target_parameters:
r = target.target_ranges[p.name]
out.append((r.start, r.stop))
return out
return num.array(out, dtype=num.float)
def get_dependant_bounds(self):
return []
......
This diff is collapsed.
Supports Markdown
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