diff --git a/pylot/core/util/dataprocessing.py b/pylot/core/util/dataprocessing.py index d5e7822e..23c00149 100644 --- a/pylot/core/util/dataprocessing.py +++ b/pylot/core/util/dataprocessing.py @@ -213,7 +213,8 @@ 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(path_to_inventory + '/' + inv[invtype][0]) + fullpath = os.path.join(path_to_inventory, inv[invtype][0]) + fname = Parser(fullpath) seedresp = dict(filename=fname, date=stime, units=unit)