Commit 18dfa045 authored by payno's avatar payno
Browse files

[_Acquisition] Add a trick to manage "mounted" directories like /mnt/multipath-shares/tmp_14_days

parent d2ec0018
Pipeline #36084 passed with stage
in 20 seconds
......@@ -841,9 +841,11 @@ class _Acquisition:
# list of data virtual source for the virtual dataset
_acq_expo_time = []
# work on absolute path
input_file_path = os.path.abspath(input_file_path)
output_file = os.path.abspath(output_file)
# work on absolute path. The conversion to relative path and
# then to absolute path is a trick in case there is some 'mounted'
# directory exposed differently. Like '/mnt/multipath-shares/tmp_14_days'
input_file_path = os.path.abspath(os.path.relpath(input_file_path, os.getcwd()))
output_file = os.path.abspath(os.path.relpath(output_file, os.getcwd()))
for entry in self._registered_entries:
type_ = _get_entry_type(entry, self._scan_titles)
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