From d099e4b466e78ca7b16763ab9c0d68b2ab667fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 14 Sep 2016 13:43:10 +0200 Subject: [PATCH] Bug fixed: Parser could not find dless-file as path was not given. --- pylot/core/util/dataprocessing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/util/dataprocessing.py b/pylot/core/util/dataprocessing.py index fb739fab..d5e7822e 100644 --- a/pylot/core/util/dataprocessing.py +++ b/pylot/core/util/dataprocessing.py @@ -213,7 +213,7 @@ def restitute_data(data, path_to_inventory, unit='VEL', force=False): if len(inv[invtype]) > 1: fname = Parser(find_in_list(inv[invtype], seed_id)) else: - fname = Parser(inv[invtype][0]) + fname = Parser(path_to_inventory + '/' + inv[invtype][0]) seedresp = dict(filename=fname, date=stime, units=unit) @@ -281,4 +281,4 @@ def get_prefilt(trace, tlow=(0.5, 0.9), thi=(5., 2.), verbosity=0): if __name__ == "__main__": import doctest - doctest.testmod() \ No newline at end of file + doctest.testmod()