Commit c037a41b authored by Tomas Farago's avatar Tomas Farago
Browse files

enforce dataset path to use the './' option

parent aaeefb7f
Pipeline #37775 failed with stages
in 16 seconds
......@@ -532,6 +532,8 @@ def _insert_frame_data(data, file_path, data_path, where, logger=None):
vds_file_path = os.path.relpath(
vds_file_path, os.path.dirname(file_path)
)
if not vds_file_path.startswith('./'):
vds_file_path = './' + vds_file_path
new_virtual_source = h5py.VirtualSource(
path_or_dataset=vds_file_path,
......
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