By default merge_hdfagentwise.py traverses a folder hierarchy and processes files called setrun.h5 in each subfolder, and then produces the agent-wise h5 files (urostat.h5, Bank.h5 etc) in a parallel folder structure in the output folder. But due to a bug in parsing the folder names, possibly related to /, this malfunctions. See screenshot at end.
Input folder:
h5/combined
Output should be in:
h5_agentwise/combined
But instead, two folders are created:
h5_agentwiseh5_agentwiseombined
And the output appears in:
h5_agentwiseombined [ommiting the /c from the path]
Probably just escaping the slash should help.
Note: the /c is not a special character, renaming the folder to something other like um also causes the error (I assumed /u is also not special either).
By default merge_hdfagentwise.py traverses a folder hierarchy and processes files called setrun.h5 in each subfolder, and then produces the agent-wise h5 files (urostat.h5, Bank.h5 etc) in a parallel folder structure in the output folder. But due to a bug in parsing the folder names, possibly related to /, this malfunctions. See screenshot at end.
Input folder:
h5/combined
Output should be in:
h5_agentwise/combined
But instead, two folders are created:
h5_agentwise
h5_agentwiseombined
And the output appears in:
h5_agentwiseombined
[ommiting the /c from the path]Probably just escaping the slash should help.
Note: the
/c
is not a special character, renaming the folder to something other likeum
also causes the error (I assumed/u
is also not special either).