Commit 8cd80b10 authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

fix incorrect initialization order

parent a1ce0ae0
......@@ -109,6 +109,10 @@ def scan(
util.ensuredirs(config.stackmax_path)
ifcs = config.image_function_contributions
for ifc in ifcs:
ifc.setup(config)
grid = config.get_grid()
receivers = config.get_receivers()
......@@ -123,9 +127,7 @@ def scan(
if p.is_empty():
raise common.LassieError('no usable waveforms found')
ifcs = config.image_function_contributions
for ifc in ifcs:
ifc.setup(config)
ifc.prescan(p)
shift_tables = []
......
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