Commit 36b2bebc authored by Daniela Kühn's avatar Daniela Kühn
Browse files

Throwing out default 'stackmax' path:wq

parent f49c2e42
......@@ -42,7 +42,7 @@ class Config(Object):
stackmax_path = String.T(
optional=True,
help='output file name for stack functions')
help='output path name for stacked traces')
grid = grid.Grid.T(
optional=True,
......
......@@ -59,10 +59,6 @@ def scan(
if op.exists(config.stackmax_path):
shutil.rmtree(config.stackmax_path)
os.mkdir(config.stackmax_path)
else:
shutil.rmtree('stackmax')
os.mkdir('stackmax')
else:
raise common.LassieError(
'detections file already exists: %s' % config.detections_path)
......@@ -283,8 +279,7 @@ def scan(
if config.stackmax_path:
io.save([tr_stackmax, tr_stackmax_indx], os.path.join(config.stackmax_path, 'trace_%(tmin_ms)s.mseed'))
else:
io.save([tr_stackmax, tr_stackmax_indx], 'stackmax/trace_%(tmin_ms)s.mseed')
__all__ = [
'scan',
......
......@@ -269,8 +269,6 @@ def snuffle(config):
paths = config.data_paths
if config.stackmax_path:
paths.append(config.stackmax_path)
else:
paths.append('stackmax')
p = pile.make_pile(paths=paths, fileformat='detect')
snuffler.snuffle(p, stations=stations,
......
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