What does Merge Tags do and how do I use it - UVA-CAMA/NICUHDF5Viewer GitHub Wiki
Merge Tags
What it does:
This script can be used to merge a bunch of separate results files from a single baby into a single file.
How it works:
-
When run, a window will pop up asking you whether you would like to "Select Individual Files" to merge or "Folder Merge."
-
If you choose "Select Individual Files," simply use the file explorer to highlight/select all the files from a single infant which you want to merge together.
-
Use "Folder Merge" if you store your files in a "one folder per infant" style. Simply select the folders which contain data you want to have merged. The script will find all the *results.mat files within a folder, merge all of those files together within that folder, then move to the next folder and repeat. In other words, you can select a bunch of folders from a bunch of babies all at once and it will go through and create a single merged file for each folder and place that merged file within that folder.
-
-
It will run through and merge the tags (result_tags, result_tagcolumns, result_tagtitle, info) from all the files you selected.
-
The merged results file will be titled with {name of the first file selected}merged.mat and saved in the folder where the original files were saved.