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

[patch-dark-ref] insure we must change chdir prior to do it

parent 7aed6c56
Pipeline #37049 failed with stages
in 15 seconds
......@@ -449,7 +449,8 @@ def _insert_frame_data(data, file_path, data_path, where, logger=None):
def recreate_vs(vs_info, vds_file):
with cwd_context():
if os.path.dirname(vds_file) not in ('', None):
with HDF5File(vs_info.file_name, mode="r") as vs_node:
vs_shape = vs_node[vs_info.dset_name].shape
length = vs_shape[0]
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