Skip to content
Snippets Groups Projects
Commit 96e3a214 authored by Laurent Mercadier's avatar Laurent Mercadier
Browse files

improved attributes copy in concatenateRuns()

parent 500833ea
No related merge requests found
......@@ -479,6 +479,6 @@ def concatenateRuns(runs):
return
result = xr.concat(orderedRuns, dim='trainId')
result.attrs['run'] = [run.attrs['run'] for run in orderedRuns]
result.attrs['runFolder'] = [run.attrs['runFolder'] for run in orderedRuns]
for k in orderedRuns[0].attrs.keys():
result.attrs[k] = [run.attrs[k] for run in orderedRuns]
return result
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