Skip to content
Snippets Groups Projects
Commit 0195e356 authored by Stefan Reck's avatar Stefan Reck
Browse files

abspath for concatenate

parent 49347bfe
No related branches found
No related tags found
1 merge request!15Fix shuffle2
import os
import time
import h5py
import numpy as np
......@@ -177,6 +178,7 @@ class FileConcatenator:
errors, rows_per_file, valid_input_files = [], [0], []
for i, file_name in enumerate(input_files, start=1):
file_name = os.path.abspath(file_name)
try:
rows_this_file = _get_rows(file_name, keys_stripped)
except Exception as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment