Open fa1c4 opened 2 years ago
i run into this issue too. Did you solve the problem?
For anyone come in later, the problem is that data.sh record the time in file called "times" instead of "times.tmp"
data.sh line 15 cat containers/"${shards}"/times/shard-*_"${r}".time > "containers/${shards}/times/times"
but time.py expect the filename to be "time.tmp"
time.py line 11 t = pd.read_csv('containers/{}/times/times.tmp'.format(args.container), names=['time'])
so either remove .tmp in time.py or add .tmp in data.sh
for example
### time.py
# t = pd.read_csv('containers/{}/times/times.tmp'.format(args.container), names=['time']) # previously
t = pd.read_csv('containers/{}/times/times'.format(args.container), names=['time']) # fix
while I was running example script, in the end at ./data.sh 5, I got this
... File "/home/falca/.local/lib/python3.8/site-packages/pandas/io/common.py", line 702, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: 'containers/5/times/times.tmp'
I spent whole day debugging this, still couldn't make it right How could I fix this problem? Would anyone please help me