Commit 2d5687eb authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

Merge branch 'deluxe' of gitext:heimann/lassie into deluxe

parents c9bf0a98 9304f281
......@@ -60,7 +60,20 @@ class CakePhaseShifter(Shifter):
def setup(self, config):
Shifter.setup(self, config)
self._earthmodels = config.earthmodels
self._earthmodels.extend(
[
CakeEarthmodel(
id=fn,
earthmodel_1d=cake.load_model(
cake.builtin_model_filename(fn)))
for fn in cake.builtin_models()
]
)
self._tabulated_phases = config.tabulated_phases
if not self._tabulated_phases:
raise LassieError('missing tabulated phases in config')
self._cache_path = config.cache_path
def get_earthmodel(self):
......
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