Commit 2991a961 authored by payno's avatar payno
Browse files

[_Acquisition] insure uing relative path for writing

parent fa0d27b5
Pipeline #36076 passed with stage
in 20 seconds
......@@ -805,6 +805,10 @@ class _Acquisition:
"""
_logger.info('write data of %s to %s' % (self.initialization_entry.name,
output_file + '::/' + data_path))
# in order to have relative links output_file and data_path should be
# relative
output_file = os.path.relpath(output_file, os.getcwd())
input_file_path = os.path.relpath(input_file_path, os.getcwd())
self.set_plugins(plugins)
# first retrieve the data and create some virtual dataset.
......
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