Bug fixed: Parser could not find dless-file as path was not given.
This commit is contained in:
parent
d7680f8ae3
commit
d099e4b466
@ -213,7 +213,7 @@ def restitute_data(data, path_to_inventory, unit='VEL', force=False):
|
|||||||
if len(inv[invtype]) > 1:
|
if len(inv[invtype]) > 1:
|
||||||
fname = Parser(find_in_list(inv[invtype], seed_id))
|
fname = Parser(find_in_list(inv[invtype], seed_id))
|
||||||
else:
|
else:
|
||||||
fname = Parser(inv[invtype][0])
|
fname = Parser(path_to_inventory + '/' + inv[invtype][0])
|
||||||
seedresp = dict(filename=fname,
|
seedresp = dict(filename=fname,
|
||||||
date=stime,
|
date=stime,
|
||||||
units=unit)
|
units=unit)
|
||||||
|
Loading…
Reference in New Issue
Block a user